T O P I C R E V I E W |
TestSubject |
Posted - April 03 2003 : 08:47:53 AM 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 |
3 L A T E S T R E P L I E S (Newest First) |
Admin |
Posted - September 11 2003 : 8:51:23 PM 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 |
TestSubject |
Posted - April 03 2003 : 1:09:41 PM 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. |
BK |
Posted - April 03 2003 : 10:25:46 AM 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 |