The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 an easier way to convertpstyles
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

TestSubject
New Member



6 Posts

Posted - April 03 2003 :  08:47:53 AM  Show Profile  Visit TestSubject's Homepage  Reply with Quote
Has anyone come up with an easier way to convertpstyles? I have to check cancel if it is already set to color or switch to color from normal. Does anyone know of a check to see which way it is set up automatically?

Thanks in advance.

Bob

BK
Super User

36 Posts

Posted - April 03 2003 :  10:25:46 AM  Show Profile  Visit BK's Homepage  Reply with Quote
Hi Bob,

I have run into a problem in A2K regarding CTB and STB files and the convertpstyles command.

I was on the phone with AutoDesk for a few hours as they tried to solve my problem (which may have nothing to do with your problem, but it proved to me that there are some bugs in the convertpstyles feature). Apparently there is a bug in one of the ARX files.

I don't know if this has anything to do with the problem you are facing, BUT you might be able to find something on the AutoDesk website regarding the ARX file that needs to be upgraded.

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2878552&linkID=2475323

I have the ARX file installer kicking around, I will find it and post it to this reply soon as I can dig it up.

Regards,
BK
Go to Top of Page

TestSubject
New Member



6 Posts

Posted - April 03 2003 :  1:09:41 PM  Show Profile  Visit TestSubject's Homepage  Reply with Quote
Thanks for the info BK. I am not really having a problem per se, I just want to automat this process. Right now, I have to check a dialog box that comes up every time I run convertpstyles. I was wondering if there was a command line type that would allow me to automate this.
Go to Top of Page

Admin
Administrator



652 Posts

Posted - September 11 2003 :  8:51:23 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Testsubject,

I had another question similar to yours, and I made a discovery...
(tested in A2K4)
It looks like all you have to do to execute the conversion is the command, then specify the source file to convert (ctb), then what you want to call the converted color mapped file (stb)

Here is an example... (I will add this to the FAQ too)

;BEGIN
convertctb
monochrome.ctb
monochrome.stb
;END

The Convertpstyles command can be applied in the same manner...

;BEGIN
convertpstyles
monochrome.stb
;END

It seems that more and more in the newer versions of AutoCAD (A2K4) you don't have to worry as much about dialog boxes (the file-dialogs anyway). Just treat the dialog box as a prompt ie. "filename:" in your script.

I hope this answers your question??

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.38 seconds. Snitz Forums 2000