*GraphicPair() - coil spring pair

Creates a coil spring pair graphic.

Syntax

*GraphicPair(gr_name,"gr_label",SPRING, spr_name, point_1, point_2, num_coils, radius)

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
SPRING
This argument indicates the graphic is a spring pair.
spr_name
The variable name of the coil spring pair associated with the graphic pair.
Data type: varname
point_1
One pair of connecting points of the coil spring pair.
Data type: Point or PointPair
point_2
The other pair of connecting points of the coil spring pair.
Data type: Point or PointPair
num_coils
The number of coils in each of the springs (must be the same for both).
Data type: integer
radius
The radius of the coils.
Data type: real

Example

*PointPair(p_spr_upr, "Upper spring point")
*PointPair(p_spr_lwr, "Lower spring point")
*CoilSpringPair(spring,        "Coil Spring",   b_lca, 
                                         b_frame, 
                                         p_spr_lwr, 
                                         p_spr_upr)
*GraphicPair(gr_spr_lead, "Lead Spring",  SPRING, 
                                         spring, 
                                         p_spr_upr, 
                                         p_spr_lwr, 
                                         7, 
                                         20)

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

To avoid the graphic being visible during MotionSolve result animation in HyperView, set the hide_in_post attribute to {{true}}. For example: *Set(gra_link.hide_in_post, true). This option will set the graphic component's visibility to be turned off when the result H3D is loaded in HyperView.