PDA

View Full Version : variables for plotstyle .ctb


smcgypsea
2009-04-15, 02:58 PM
I have a block with text, a line and a hatch that is arrayed to represent the 255-color chart. The intent of the file is to visually display the .ctb file. Each block is on layer 0 and assigned a color.

I would like to include an attribute that returns the lineweight value and another the shading percent value assigned to each color in the ctb. Are there such variables to return the associated numbers? What are they? I'd rather use the source ctb instead of processing the ctb as a table for the attribute to read.

So far, I have the file set up such that I change the page setup to assign the .ctb to the layout. Then I plot the layout.

Any help would be greatly appreciated.

stacy

irneb
2009-04-15, 06:28 PM
Sorry, no-can-do. Those values are set inside the CTB file. There's no variable to check. If you want to see it in as plotted, create a Layout Tab and set it's PageSetup to "Display Plot Styles", then turn on the LWT switch (Lineweight) in the statusbar. This should show as if plotted (black lines with different weights).

Otherwise use http://www.xcad.ch/tests/ctbviewer.php to view a CTB graphically.