HyperWorks Desktop

*Preferences() - Graphics Files

Sets foreground, background, and other colors for all animation windows, turns various display features on and off, and sets the default feature angle. Indicates if forces and moments are displayed as fixed or variable, the force and moment sizes (if displayed as fixed), and the marker size.

*Preferences() - Graphics Files

Sets foreground, background, and other colors for all animation windows, turns various display features on and off, and sets the default feature angle. Indicates if forces and moments are displayed as fixed or variable, the force and moment sizes (if displayed as fixed), and the marker size.

Previous topic Next topic No expanding text in this topic  

*Preferences() - Graphics Files

Sets foreground, background, and other colors for all animation windows, turns various display features on and off, and sets the default feature angle. Indicates if forces and moments are displayed as fixed or variable, the force and moment sizes (if displayed as fixed), and the marker size.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Preferences(Foreground, Background, Meshline, X axis, Y axis, Z axis, RenderHelix/WireHelix, TimestepOn/TimestepOff, FramenumberOn/FramenumberOff, TriadOn/TriadOff, FeatureAngle, Fixed/Variable, ForceSize, MomentSize, MarkerSize)

Arguments

Name

Description

 

Foreground

Foreground color index.

 

Background

Background color index.

 

Meshline

Meshline color index.

 

X axis

Coordinate triad X axis color index.

 

Y axis

Coordinate triad Y axis color index.

 

Z axis

Coordinate triad Z axis color index.

 

RenderHelix

Displays helixes as fully rendered, shaded objects.

 

WireHelix

Displays helixes as helical lines.

 

TimestepOn

Displays the timestep name in the window.

 

TimestepOff

Turns off the timestep displayed in the window.

 

FramenumberOn

Displays the frame number in the window.

 

FramenumberOff

Turns off the frame number displayed in the window.

 

TriadOn

Displays the coordinate triad in the window.

 

TriadOff

Turns off the coordinate triad in the window.

 

FeatureAngle

Angles greater than this value indicate a feature line.

 

Fixed

Displays forces and moments as fixed sized vectors.

 

Variable

Displays forces and moments as variable sized vectors.

 

ForceSize

Size of force vector if displayed as fixed.

 

MomentSize

Size of moment vector if displayed as fixed.

 

MarkerSize

Size with which markers on the model will be drawn.

Example

*BeginGraphic()

  *Preferences(1, 0, 1, 1, 1, 1, RenderHelix, TimestepOn, FramenumberOff, TriadOn, 30, Variable, 500, 500, 1)

*EndGraphic()

Application

HyperView.

Context

*BeginGraphic()

Comments

The parameters set by this statement apply globally to all animation windows.

Foreground color changes the color of the global coordinate triad and the timestep label.

Drawing fully surfaced helixes can slow animation performance.

The force, moment, and marker sizes apply to all models in the view.  These parameters cannot be set for individual entities.  For example, if the marker size is 2, all markers in the view will be drawn with a size of 2.

See also

 

*BeginGraphic()

List of Session Statements