Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automate Export & some commands

Status
Not open for further replies.

Jalipa

Materials
Joined
Jun 5, 2001
Messages
35
Location
GB
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 believe you have about the same tools available with a script or button macro. A script file is easier to read & edit. A macro allows a pause of commands for user input. I think with either a script or macro you'd need to include some lisp that will allow you to select only tables.

By exploding text do you mean exploding mtext to text?
 
Hi CarlB,

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
 

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")))

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top