HyperWorks Desktop

*DefineGraphic()

Begins a graphic definition block.

*DefineGraphic()

Begins a graphic definition block.

Previous topic Next topic No expanding text in this topic  

*DefineGraphic()

Begins a graphic definition block.

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

Syntax

*DefineGraphic(gra_def_name, [arg_1, arg_2,..., arg_n])

Arguments

Name

Description

 

gra_def_name

The name of the graphic definition.

 

arg_1,

arg_2, ...,

arg_n

User-defined optional arguments.

Example

*DefineGraphic(gra_def_1, fname)

   *LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64)

   *View(0707107, 0.353553, -0.612372,

         0, -0707107, 0.353553, -0.612372, 0,

         -3.09086e-08, 0.866025, 0.5, 0,

         -22946.6, -17811.2, -22623.3, 1)

   *ClippingRegion(-23724.9, -18599.1, -17668.8,

                   -14493.9)

   *GraphicSource("indy.gra", 1, 2, 1)

   *Part("P/999", Off, IdOff, 2, Opa, Sha, NoTrace)

*EndDefine()

Application

MotionView and HyperView.

Comments

The *DefineGraphic() statement requires an ending *EndDefine() statement.

 

All arguments after the first argument are user-defined.

See also

 

*ClippingRegion() in Script Files

*ModelSource() in Script Files

*LightInfo() in Script Files

*Part() in Script Files

*View() in Script Files

List of Report Statements