The ViewportAnnotationOptions object stores settings that control how annotations are rendered in a particular viewport. ViewportAnnotationOptions objects are accessed in one of two ways:
The default viewport annotations. These settings are used as defaults when other viewportAnnotationOptions members are created and can be set to customize user preferences.
The viewport annotations associated with a particular viewport.
The ViewportAnnotationOptions object has no constructor; Abaqus creates the defaultViewportAnnotationOptions member when a session is started. When a new viewport is created, the settings are copied from the current viewport.
session.defaultViewportAnnotationOptions session.viewports[name].viewportAnnotationOptions
This method modifies the ViewportAnnotationOptions object.
Required arguments
Optional arguments
A Boolean specifying whether the view orientation triad is shown. The default value is ON.
A pair of Ints specifying the position of the view orientation triad as a percentage of the viewport size. Possible values are (0, 0) triadPosition (100, 100). The default value is (6, 12).
A String specifying the color of the view orientation triad. Possible values are any valid color. The default value is "White".
A SymbolicConstant specifying how the view orientation triad is labeled. Possible values are:
The default value is NUMBERS.
NUMBERS, specifying the label axes 1, 2, 3.
LETTERS, specifying the label axes X, Y, Z.
A String specifying the font of the view orientation triad labels. Possible values are any valid font. The default value is "-*-verdana-bold-r-normal--120-*".
An Int specifying the length of each triad axis as a percentage of the viewport size. Possible values are 1 legendDecimalPlaces 50. The default value is 4.
A Boolean specifying whether the legend is shown. The default value is ON.
A Boolean specifying whether the minimum and maximum values for X–Y and contour plots are shown. The default value is OFF.
A Boolean specifying whether the box around the legend is shown. The default value is ON.
An Int specifying the number of decimal places to display in the legend. Possible values are 0 legendDecimalPlaces 9. The default value is 3.
A pair of Ints specifying the position of the legend as a percentage of the viewport size. Possible values are (0, 0) legendPosition (100, 100). The default value is (2, 98).
A String specifying the font of the legend labels. Possible values are any valid font. The default value is "-*-verdana-medium-r-*-*-*-120-*-*-*-*-iso8859-1".
A String specifying the color of the legend. Possible values are any valid color. The default value is "White".
A SymbolicConstant specifying the legend background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.
The default color when OTHER is specified is the background color (black).
A String specifying the color of the legend background. Possible values are any valid color. The initial value matches the viewport background.
A Boolean specifying whether the title block is shown. The default value is ON.
A Boolean specifying whether the box around the title block is shown. The default value is OFF.
A pair of Ints specifying the position of the title block as a percentage of the viewport size. Possible values are (0, 0) titlePosition (100, 100). The default value is (13, 20).
A String specifying the font of the title. Possible values are any valid font. The default value is "-*-verdana-medium-r-*-*-*-120-*-*-*-*-iso8859-1".
A String specifying the color of the title. Possible values are any valid color. The default value is "White".
A SymbolicConstant specifying the title block background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.
The default color when OTHER is specified is the background color (black).
A String specifying the color of the title block background. Possible values are any valid color. The initial value matches the viewport background.
A Boolean specifying whether the state block is shown. The default value is ON.
A Boolean specifying whether the box around the state block is shown. The default value is OFF.
A pair of Ints specifying the position of the state block as a percentage of the viewport size. Possible values are (0, 0) statePosition (100, 100). The default value is (13, 12).
A String specifying the font of the state label. Possible values are any valid font. The default value is "-*-verdana-medium-r-*-*-*-120-*-*-*-*-iso8859-1".
A String specifying the color of the state block label. Possible values are any valid color. The default value is "White".
A SymbolicConstant specifying the state block background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.
The default color when OTHER is specified is the background color (black).
A String specifying the color of the state block background. Possible values are any valid color. The initial value matches the viewport background.
A Boolean specifying whether the 3D Compass is shown. The default value is ON.
A Float specifying the relative size of the 3D Compass in the viewport. Possible values are 0.5 compassScale 2.0. The default value is 0.8.
A SymbolicConstant specifying the plane that will be used for the base of the 3D Compass. Possible values are XYPLANE, XZPLANE, and YZPLANE. The default value is XZPLANE.
Return value
Exceptions
RangeError.
The ViewportAnnotationOptions object has members with the same names and descriptions as the arguments to the setValues method.