HyperWorks Desktop

*BeginGraphic()

Indicates the beginning of a graphic block.

*BeginGraphic()

Indicates the beginning of a graphic block.

Previous topic Next topic No expanding text in this topic  

*BeginGraphic()

Indicates the beginning of a graphic block.

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

Syntax

*BeginGraphic()

Example

*BeginPage()

 *BeginWindow(Animation)

   *IsActive()

  *BeginGraphic()

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

         *RotationAngle(15)

         *View(-0.707107, -0.353553, 0.612372, 0,

               0.707107, -0.353553, 0.612372, 0,

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

              -4.48139, -2.31186, 2.40646, 1)

         *ClippingRegion(1657.26, 2890.54, -613.754,

                        270.386)

        *GraphicSource("../demos/pass_belt.KIN3",
                       1, 1, 1)

         *Preferences (FixF, FixM, 500, 500, 100,

                      RenderHelix, 0, 1,
                      TimestepOn)

         *Part("Sphere 10", On, 5, Opa, Sha,
              NoTrace)

         *Part("Sphere 12", On, 7, Opa, Sha,

              TraceBySteps)

         • • •

         *Force("F/1021", On, 2, Opa, Sha, NoTrace,

               Force, component)

         • • •

         *Tracking (On, "Sphere 8", OnDx, OnDy,
                   OnDz, OnRot, 4)

   *EndGraphic()

 *EndWindow()

*EndPage()

Application

MotionView, HyperView and MediaView.

Context

*BeginPage()

*BeginWindow()

Report Definitions

Comments

Graphic blocks define model attributes, light sources, and view orientation.

Every window defined as an animation window must have a *BeginGraphic() statement.

Model window blocks can contain a *BeginGraphic() block.

Every *BeginGraphic() statement requires a closing *EndGraphic() statement.

*BeginGraphic() blocks can contain multiple *ModelSource() statements, allowing several graphics of the same type to be overlayed.

See also

 

*BeginWindow()

*ClippingRegion()

*EndGraphic()

*Force()

*LightInfo()

*Marker()

*ModelSource()

*Part()

*Preferences() - Graphics Files

*RotationAngle()

*Tracking()

*View()

List of Session Statements