Automate Export & some commands
Automate Export & some commands
(OP)
Hi Guys,
I'd like to create a Macro or a script (i don't know which would be easier) to automate some actions.
We need to export drawings to Cadence on a routine basis.
But we need to explode tables & some text first.
So I want use a macro/script to automate this preperation so doesn't get forgotten.
Has anyone one done anything like this?
Which is better a Macro or a script?
Any advice appreciated!
Thanks J.
I'd like to create a Macro or a script (i don't know which would be easier) to automate some actions.
We need to export drawings to Cadence on a routine basis.
But we need to explode tables & some text first.
So I want use a macro/script to automate this preperation so doesn't get forgotten.
Has anyone one done anything like this?
Which is better a Macro or a script?
Any advice appreciated!
Thanks J.





RE: Automate Export & some commands
By exploding text do you mean exploding mtext to text?
RE: Automate Export & some commands
Thanks for your reply.
Yes, MText to Text. A little thing but gets overlooked creating import errors.
To show my ignorance what do you mean by "lisp"?
Regards
J
RE: Automate Export & some commands
A programming language built-in to AutoCAD;Lisp stands for "lost in stupid parentheses" :)
Is not avaliable in LT version.
Is covered in AutoCAd "help" Customization Guide.
You can type lisp statements on the command line (enclosed in parentheses), and can include in scripts & macros. More powerful use is in stand-alone routines.
For example, type the following on the command line (or copy/paste) to select all tables, which is then the "previous" selection set:
(ssget "x" '((0 . "ACAD_TABLE")))