HyperWorks Desktop

*SetUserMode()

Sets the default user mode.

*SetUserMode()

Sets the default user mode.

Previous topic Next topic No expanding text in this topic  

*SetUserMode()

Sets the default user mode.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*SetUserMode(varname)

Arguments

Names

Description

 

varname

Variable name of the user mode.

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()

Application

MotionView.

Context

*BeginModelDefaults()

*BeginModelGUIDefaults()

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 menu/Options dialog/Toolbar tab.

See also

 

*BeginModelDefaults()

*BeginModelGUIDefaults()

*BeginUserMode()

*EndUserMode()

List of Preference Statements