T O P I C R E V I E W |
cwthomas |
Posted - September 07 2004 : 09:36:50 AM I need to know if anyone has a script that will open an new drawing and insert an existing drawing from a list of drawings into it and then save it.We have to do this because some of our drawings are setup for the wrong plot style type (.ctb). We want them to be (.ctb) color-dependant. Unless someone has another idea of doing this that I didn't think of. Please let me know.
|
5 L A T E S T R E P L I E S (Newest First) |
Miksteele |
Posted - September 07 2004 : 12:25:50 PM In addition to the LT -vs- Full blown version capabilities... I believe the CONVERTPSTYLES command only works in AutoCAD versions 2002 and higher. Could be way off...
As far as creating a script for a NEW drawing and the insertion... I have found that the best approach for a new script is to type in commands on the command line and then use Hurricane's Capture Feature to create the script. Just keep in mind that a script needs to be command line driven, no dialog boxes. So...for a new drawing type in NEW. And then when you work your way to the insert command, you'll need to type in -insert
See if this gets you started in the right direction...
|
cwthomas |
Posted - September 07 2004 : 12:23:23 PM Graham,
That solved our problem. Thanks for your help.
|
gdury |
Posted - September 07 2004 : 11:46:20 AM Curt
Depends upon the Autocad product you are using Full or Lt, Check out the following link:
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2879162&linkID=2475323
Also the Hurricane script file which can be used to batch convert.
CONVERTPSTYLES.SCR
|
cwthomas |
Posted - September 07 2004 : 11:09:15 AM We are trying to convert a *.stb to a *.ctb. Is there a quick way to convert this? What we have been doing is opening a new drawing then inserting the drawing with the *.stb into the new drawing so it will use a *.ctb. I hope this answers your question. If not let me know.
Thanks,
Curt Thomas |
gdury |
Posted - September 07 2004 : 10:10:46 AM Curt
Can you clarify...are you trying to convert a *.stb to a *.ctb or vice-a-versa. or insert another *.ctb from another drawing into a specific drawing.
Regards
Graham Dury |