*Graphic() - user-defined graphic

Creates a user-defined graphic.

Syntax

*Graphic(gr_name,"gr_label",gr_defn, arg_1, arg_2,, arg_n)

Arguments

gr_name
The variable name of the graphic.
Data type: varname
gr_label
The descriptive label of the graphic.
Data type: label
gr_defn
The definition name of the user-defined graphic.
Data type: varname
arg_1, arg_2, ..., arg_n
User-defined arguments being passed to the graphic.
Data type: user-defined

Example

*Body(b_kn, 
"Knuckle", 
p_kn_cm)
*Point(p_ubj, "Upper ball joint")
*Point(p_lbj, "Lower ball joint")
*Point(p_spalign, 
"Spindle align point")
*Point(p_wc, "Wheel center")
*DefineGraphic(gra_kn, body_1, p_1, p_2, p_3, p_4)
  *Graphic(cyl1, "kingpin", cylinder, body_1, p_1, p_2, 10)
  *Graphic(sph1, "Lwr ball jt, sphere, body_1, p_1, 15)
  *Graphic(sph2, "Upr ball jt, sphere, body_1, p_2, 15)
  *Graphic(cyl2, "Spindle align", cylinder, body_1, p_3, p_4, 10)
*EndDefine()
*Graphic(g_knuckle, "Knuckle", gra_kn, b_kn, 
                                      p_lbj, 
                                      p_ubj, 
                                      p_spalign, 
                                      p_wc)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

The definition of a user-defined graphic is specified by a *DefineGraphic().

The number and type of arguments depends on the definition for the user-defined graphic.