Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Try using scr script but it does not work.

3 REPLIES 3
Reply
Message 1 of 4
Wilson.WanH8Q64
161 Views, 3 Replies

Try using scr script but it does not work.

I try using scr to create line like this

Line 0,0,16.26 0,2000,16.26
Line 51.78,0,16.416 51.78,2000,16.416
Line 100.44,0,15.95 100.44,2000,15.95
Line 226.77,0,15.329 226.77,2000,15.329
Line 259.91,0,15.432 259.91,2000,15.432
Line 280.61,0,14.915 280.61,2000,14.915
Line 308.05,0,14.915 308.05,2000,14.915
Line 323.06,0,14.764 323.06,2000,14.764
Line 331.82,0,14.667 331.82,2000,14.667
Line 336.69,0,15.348 336.69,2000,15.348
Line 343.18,0,15.283 343.18,2000,15.283
Line 343.83,0,14.959 343.83,2000,14.959
Line 354.21,0,14.991 354.21,2000,14.991
Line 370.75,0,11.813 370.75,2000,11.813

Line 331.82,0,14.667 331.82,2000,14.667
Line 336.69,0,15.348 336.69,2000,15.348
Line 343.18,0,15.283 343.18,2000,15.283
Line 343.83,0,14.959 343.83,2000,14.959
Line 354.21,0,14.991 354.21,2000,14.991
Line 370.75,0,11.813 370.75,2000,11.813

This is the formula I used in excel

="Line "&D2&","&E2&","&F2&" "&G2&","&H2&","&I2&" "

But all the lines just are on the same location. Why does it happen?

 

Many thanks
Thanks.

Labels (1)
3 REPLIES 3
Message 2 of 4
Joe-Bouza
in reply to: Wilson.WanH8Q64

 

Don’t have cad at he moment. Do we enter on command line x,y,z or x y z?

the double space halfway down probably doesn’t help

 

did you save as MSDOS?

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 4
EBDBC3D
in reply to: Wilson.WanH8Q64

If you're trying to make separate lines, add a space at the end of each line so the "line" command restarts each time.

Message 4 of 4
Joe-Bouza
in reply to: Wilson.WanH8Q64

ipasted the firs block to the command line and it works for me

 

 

JoeBouza_0-1696424845033.png

 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report