*SetSpringDamperGraphicVisible() - single coil spring

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

Syntax

*SetSpringDamperGraphicVisible(spr_name, draw_spring, draw_damper)

Arguments

spr_name
The variable name of an existing coil spring.
Data type: varname
draw_spring
Flag to show the coil spring.
Data type: Boolean
Default: false
draw_damper
Flag to show the damper cylinder graphics.
Data type: Boolean
Default: false

Example

*Body(b_lca, "LCA", p_lca_cm)
*Body(b_frame, "Frame", p_frame_cm)
*Point(p_spr_upr, "Spring @ frame")
*Point(p_spr_lwr, "Spring @ lca")
*CoilSpring(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)
*SetSpringDamperGraphicVisible(spring_uca, true, false ) // Coil graphic for the spring is shown but the damper graphic is not shown

Context

*BeginMdl()

*DefineAnalysis()

*DefineAssembly()

*DefineSystem()