AfrFoundation Macro SetAccessWeight
Macro SetAccessWeight (variableName,weight)
Set the given weight to the given access.
Role: By default, access objects have a weight of 1.0.
The weight is used only for CATCmdStarter to be displayed in secondary
area of the ActionBar. To display a CATCmdStarter object in secondary
area, you to call this macro on the starter object giving 0.f as weight.
- Parameters:
-
- variableName
- The pointer to a CATCmdAccess's instance. This pointer is created by
with CATCmdStarter as classname parameter.
- weight
- The new weight to associate to the given access. To be put in secondary area of the
Action Bar, 0.f must be given.
This object is included in the file: CATCreateWorkshop.h
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.