*EndUserMode()

Indicates the end of an MDL user mode block.

Syntax

*EndUserMode()

Application

MotionView and HyperStudy.

Context

*BeginModelDefaults()

*BeginModelGUIDefaults()

*BeginUserMode()

Example

*BeginModelDefaults() 
    *BeginModelGUIDefaults() 
      *BeginUserMode(mode1, "Designer") 
         *Hide(Markers, Beams, Forces, Motions, Outputs)  
      *EndUserMode() 
    *EndModelGUIDefaults() 
    *BeginMdlDefaults() 
      *RegisterAdamsScript(std_exe, "Standard executable",  
                           "/homes/altair/std_exe")
      *RegisterAdamsScript(user_exe, "User executable", "user_exe")
    *EndMdlDefaults()
*EndModelDefaults()

Comments

Every *BeginUserMode() statement requires a closing *EndUserMode() statement.

User modes are used to customize the toolbar and pull-down menus. This can be done from the Tools > Options > Toolbar tab.