<PlotMacro>
Section:
Options (Task Agent)
Required:
Yes
Value type:
String
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
When defining a plot task, this tag defines plot macros to be displayed in the Color Option picklist. If the default value should not be the first <ChoiceValue>, define it on the opening <PlotMacro> tag. Multiple <ChoiceValue> entries are allowed.
The plot task supports the following macros:
Standard (Plot_default_transformation)
The default plot transformation maps all linetypes of any width to a specific color. For more information on default settings, see the Creo Elements/Direct Drafting / Creo Elements/Direct 2D Access Program Reference Guide.
Black and White (Plot_black_and_white)
Suitable for output to a black and white device. All line colors are mapped to black, but given different widths based on color.
True Color (Plot_true_color)
Suitable for output to color printers. No transformation is done and TRUE_COLOR_PLOTTING is enabled.
Pen Color (Plot_pen_color)
Suitable for output to pen plotters. All colors are mapped to one of eight pen colors. White elements are mapped to black.
Custom (Js_plot_custom_transformation)
This is where you would register a custom macro. Custom defaults to Standard.
If you specify a default value, Creo Elements/Direct Model Manager/Creo Elements/Direct Drawing Manager uses the <DisplayName> from the <ChoiceValue> setting (if one exists).
Example
This example shows a configuration for the section:
<PlotMacro>Plot_default_transformation
<ChoiceValue>Plot_default_transformation
<DisplayName catalog="automation" msg_num="212">Standard</DisplayName>
</ChoiceValue>
<ChoiceValue>Plot_black_and_white
<DisplayName catalog="automation" msg_num="186">Black and White</DisplayName>
</ChoiceValue>
<ChoiceValue>Plot_true_color
<DisplayName catalog="automation" msg_num="187">True Color</DisplayName>
</ChoiceValue>
<ChoiceValue>Plot_pen_color
<DisplayName catalog="automation" msg_num="188">Pen Color</DisplayName>
</ChoiceValue>
<ChoiceValue>Js_plot_custom_transformation
<DisplayName catalog="automation" msg_num="220">Custom</DisplayName>
</ChoiceValue>
</PlotMacro>
Was this helpful?