<EnableLightweight>
Section:
Options
Required:
No
Value type:
Boolean (true or false)
Default:
true
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
If the value of <EnableLightweight> is true, the graphics file support is enabled and hence, the light-weight model (.sd_gfx file) is saved in the Creo Elements/Direct Model Manager along with the model.
If the value of <EnableLightweight> is false, the light-weight model (.sd_gfx files) is not saved in the Creo Elements/Direct Model Manager database along with the model.
<EnableLightweight> and MM_Save_LIGHTWEIGHT (Creo Elements/Direct Modeling command key) control the light-weight model operations in Creo Elements/Direct Modeling. For more information on Creo Elements/Direct Modeling command keys, see Customize Creo Elements/Direct Modeling's Model Manager menu.
The following table shows the various combinations of <EnableLightweight> and MM_Save_LIGHTWEIGHT, and their results:
<EnableLightweight>
MM_Save_LIGHTWEIGHT
Result
true
t
All the light-weight model operations are available in the Creo Elements/Direct Modeling user interface.
false
t
None of the light-weight model operations are available in the Creo Elements/Direct Modeling user interface.
true
nil
All the light-weight model operations except Add Lightweight are available in the Creo Elements/Direct Modeling user interface.
false
nil
None of the light-weight model operations are available in the Creo Elements/Direct Modeling user interface.
Example
This example shows a valid configuration for the tag:
<EnableLightweight>true</EnableLightweight>
Was this helpful?