kanawana Posted July 7, 2015 Posted July 7, 2015 Hello everyone, new to this forum and relatively new to autoCAD. I'm using an Excel file to import XY coordinates into autoCAD from a set of variables. So for example, I have a column designed to produce the command point 50,10 -text @ 0.4 90 TEST where 50,10 is the coordinate, 0.4 is text height, 90 is text rotation, and TEST is the point name or number. I then copy paste the whole column into autoCAD, which works very well for me to insert multiple numbered points without the need for scripts or exporting to notepad etc. However I'm looking for a way to specify other parameters, such as point layer (POINTS), text layer (TPOINTS), text style (TPOINTS), and alignment (TL). Is this possible to do from the command line (without getting prompts)? I tried searching but to no avail. Thanks in advance. Quote
BIGAL Posted July 8, 2015 Posted July 8, 2015 Have a look at this you can access a lot of the sysvars from command line as well to do stuff like like change layouts layers etc. You can run lines of lisp. osmode 0 (alert "snaps off") osmode 16431 point 50,10 -text @ 0.4 90 TEST -la s points point 50,10 -la s text -text @ 0.4 90 TEST clayer points point 50,10 clayer text -text @ 0.4 90 TEST osmode 0 (alert "snaps off) clayer points point 50,10 clayer text -text @ 0.4 90 TEST osmode 16431 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.