- CADDManager Blog - https://www.caddmanager.com/CMB -

Converting STB to CTB

Ever get a file that uses STB and you use CTB? or vise versa

CONVERTPSTYLES converts a currently open drawing from color-dependent plot styles to named plot styles, or from named plot styles to color-dependent plot styles, depending on which plot style method the drawing was created and saved with.

Converting Drawings from Color-Dependent to Named Plot Styles

A dialog box advises you to convert the drawing’s plot style tables before converting the drawing. You can convert the color-dependent plot style tables assigned to the drawing to named plot style tables using CONVERTCTB.

The Select File dialog box is displayed, where you select the named plot style table file to attach to the converted drawing.

CONVERTPSTYLES requires you to select a named plot style table that was converted using CONVERTCTB or created from a PC2 or PCP file. Normally you should pick the named plot style table that was converted from the color-dependent plot style table that in use.

CONVERTPSTYLES attaches the selected named plot style table to model space and to all layouts. Drawing layers are each assigned a named plot style (from the converted plot style table) that has the same plot properties that their color-dependent plot style had. Drawing objects that had the same color-dependent plot style as their layer are assigned the named plot style BYLAYER. Drawing objects that had a color-dependent plot style that was different from their layer are assigned a named plot style that has the same properties that their color-dependent plot style was.

After a drawing is converted to named plot styles, you can change the named plot style table assignment or assign other named plot styles tables to model space or layouts. You can also assign individual plot styles to drawing objects (a dangerous idea?).

Converting Drawings from Named to Color-Dependent Plot Styles

A dialog box advises you that the named plot styles attached to objects and named plot style tables attached to model space and layouts will be detached.

After a drawing is converted to color-dependent plot styles, you can assign a color-dependent plot style table. Plot styles will be applied by color.

7 Comments (Open | Close)

7 Comments To "Converting STB to CTB"

#1 Comment By Anonymous On April 13, 2005 @ 10:45 AM

Thank you, a guy who recently moved to another state showed me some of this a while ago, but I was not taking notes. Although I have no reason to change the named plot styles he already assigned to the project, this helps a lot, as it is quite a complex routine.

#2 Comment By VASANT On January 28, 2009 @ 3:52 AM

IT IS USEFULL

#3 Comment By nazuar On March 25, 2009 @ 2:57 AM

Thank you very much,
for information convert (stb to ctb)
I hope to join in your mamber.

#4 Comment By Tringuyen On May 26, 2009 @ 7:10 AM

thank a lot

#5 Comment By Mathew On October 5, 2010 @ 5:18 AM

Thanks it is very usefull information

#6 Comment By Harry Cover On March 6, 2011 @ 7:35 PM

Merci pour cette astuce, très utile .

#7 Comment By Shiv Sukhu On May 25, 2012 @ 1:16 PM

Excellent. Very helpful.