*SetSpringDamperGraphicVisible() - pair coil spring

Controls the visibility of spring and damper graphics of the coil spring entity.

Syntax

*SetSpringDamperGraphicVisible(spr_name, draw_spring_left, draw_damper_left, draw_spring_right, draw_damper_right)

Arguments

spr_name
The variable name of an existing coil spring.
Data type: varname
draw_spring_left
Flag to show the coil spring of the left side of a spring pair.
Data type: Boolean
Default: false
draw_damper_left
Flag to show the damper cylinder graphics of the left side of a spring pair.
Data type: Boolean
Default: false
draw_spring_right
Flag to show the coil spring of the right side of a spring pair.
Data type: Boolean
Default: false
draw_damper_right
Flag to show the damper cylinder graphics of the right side of a spring pair.
Data type: Boolean
Default: false

Example

*BodyPair(b_lca, "LCA", p_lca_cm)
*BodyPair(b_frame, "Frame", p_frame_cm)
*PointPair(p_spr_upr, "Spring @ frame")
*PointPair(p_spr_lwr, "Spring @ lca")
*CoilSpringPair(spring_uca, "Coil Spring", b_lca, b_frame, p_spr_upr, p_spr_lwr)
*SetCoilSpring(spring_uca,  ,1.000e+02, 0.000e+00, 0.000e+00, 3.500e+02)
*SetSpringDamperGraphic(spring_uca, 15, 10, 15, 10)
*SetSpringDamperGraphicVisible(spring_uca, true, false, true, false ) // Coil graphics for the spring pair is shown but the damper graphics are not shown

Context

*BeginMdl()

*DefineAnalysis()

*DefineAssembly()

*DefineSystem()

Comments

The symmetry for showing graphics is controlled by the symmetry property on the *SetCoilSpring() statement.