*GraphicPair() - sphere pair

Creates a sphere pair graphic.

Syntax

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

Arguments

gr_name
The variable name of the graphic pair.
Data type: varname
gr_label
The descriptive label of the graphic pair.
Data type: label
SPHERE
This argument indicates the graphic is a pair.
body
The body or body pair associated with this graphic pair.
Data type: Body
origin
The location(s) of the center of the pair of spheres.
Data type: Point or PointPair
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

*BodyPair(b_kn, "Knuckle", p_kn_cm)
*PointPair(p_lbj, "Lower ball joint")
*GraphicPair(gr_lbj, "Lwr ball jt"  SPHERE, 
                                 b_kn, 
                                  p_lbj, 
                                  10,               
                                  3)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()