*SetUserMode()

Sets the default user mode.

Syntax

*SetUserMode (varname)

Application

MotionView

Inputs

varname
Variable name of the user mode.

Context

*BeginModelDefaults()

*BeginModelGUIDefaults()

Example

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

Comments

Only one user mode can be set as a default.

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