The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Script Help (Insert drawing into new drawing)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

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

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.22 seconds. Snitz Forums 2000