*Graphic() - sphere

Creates a sphere graphic.

Syntax

*Graphic(gr_name,"gr_label",SPHERE, body, origin, radius, refinement_level)

Arguments

gr_name
The variable name of the graphic.
Data type: varname
gr_label
The descriptive label of the graphic.
Data type: label
SPHERE
This argument indicates the graphic is a sphere.
body
The body associated with the graphic.
Data type: Body
origin
The location of center of the sphere.
Data type: Point
radius
The radius of the sphere.
Data type: real
refinement_level
Specifies the refinement for tessalation of the graphics for MotionSolve. Refer to the <Post_Graphic MotionSolve XML statement for additional information.
Data type: real

Example

*Body(b_kn, "Knuckle", p_kn_cm)
*Point(p_lbj, "Lower ball joint")
*Graphic(gr_knuckle, "Knuckle"   SPHERE,  
                                b_kn, 
                                p_lbj, 
                                10
                                3)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()