HyperWorks Desktop

*Object()

Specifies object attributes for primitives.

*Object()

Specifies object attributes for primitives.

Previous topic Next topic No expanding text in this topic  

*Object()

Specifies object attributes for primitives.

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

Syntax

*Object("Part_Name", "Name", Off/[empty], On/IDOff/[Empty], color/"Material name"/[Empty], Opaque/Transparent/[Empty], Shaded/Wireframe/[Empty], NoTrace/FullTrace/TraceBySteps/TraceLast)

Arguments

Name

Description

 

"Part_Name"

Name of the part to which the object belongs.  Must be in double quotes.

 

"Name"

The object name.  Must be in double quotes.

 

On

Displays the object in the graphic window.

 

Off

Turns off the object displayed in the graphic window.

 

IDOn

Displays the name of the object in the graphic window.

 

IDOff

Turns off the name of the object displayed in the graphic window.

 

Color        

A number between 0 and 63 that specifies a color on the palette of 64 colors.

 

"Material Name"

The material name (used if the specified part references a material).

 

Opaque

Defines the object as solid.

 

Transparent

Defines the object as see-through.

 

Shaded

Renders the object as a filled object.

 

Wireframe

Renders the object as a wireframe object.

 

NoTrace

Turns off tracing for a object.

 

FullTrace

Displays the entire traced path of the object without animating.

 

TraceBySteps

Displays the traced path as the object passes each timestep.

 

TraceLast

Displays the traced path of the object restricted to the last five timesteps.

 

[Empty]

If an option is not specified, the object assumes the attributes of the part to which it belongs.

Example

*BeginGraphic()

 • • •

 *Object("Object 1", "Sphere 12", On, 7, Opaque,

          Sha, NoTrace)

 • • •

*EndGraphic()

Application

MotionView and HyperView.

Context

*BeginGraphic()

*BeginPage()

Report Definitions

Comments

Transparent objects are translucent and reveal the obscured entities behind them.

Opaque objects are solid and hide the entities behind them.

FullTrace displays the traced path without animating the model.  The model must be animated for TraceBySteps and TraceLast to display the path of motion.

Colors are numbered from left to right, top to bottom starting with 0.

If an object references a material, a material name must be specified instead of a color number.

See also

 

*BeginGraphic()

*BeginMaterial()

*ClippingRegion()

*Force()

*LightInfo()

*Marker()

*ModelSource()

*Part()

*Preferences() - Graphics Files

*RotationAngle()

*Tracking()

*View()

List of Session Statements