Interface LayerState
Description
Provides information of the layer state.
Method Summary
void | |
| Activate specified layer state. |
void | |
| Add layer reference to a layer state. |
void | |
| Delete specified layer state. |
String | |
| Retrieves the name of the default layer of the specified type. |
| |
| Get method for attribute "LayerData" Get layer state reference data. |
String | |
| Get method for attribute "LayerStateName" Returns the name of the layer state. |
void | |
| Added an item to be hidden on the layer state. |
boolean | |
| Check if the item is hidden on the layer state. |
void | |
| Remove layer reference from a layer state. |
void | |
| Sets up a default layer of the specified type. |
void | |
| Remove the item from the layer state hidden items list. |
Method Detail
GetLayerStateName |
String | GetLayerStateName | () |
Returns the name of the layer state.
User Guide References:
GetLayerData |
| GetLayerData | () |
Get layer state reference data.
User Guide References:
Add layer reference to a layer state.
Exceptions thrown (but not limited to):
XToolkitBadContext - Passed models of either layer state or the layer are not of ProSolid type.
User Guide References:
Parameters:
Layer
DispStatus
Returns:
RemoveLayer |
void | RemoveLayer | |
Remove layer reference from a layer state.
Exceptions thrown (but not limited to):
XToolkitBadContext - Passed models of either layer state or the layer are not of ProSolid type.
User Guide References:
Parameters:
Layer
Returns:
DeleteLayerState |
void | DeleteLayerState | () |
Delete specified layer state.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
ActivateLayerState |
void | ActivateLayerState | () |
Activate specified layer state.
Model of the layer state must be top model in window. Otherwise activate fails.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
UnhideLayerItem |
void | UnhideLayerItem | |
Remove the item from the layer state hidden items list.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LayerItem
Returns:
HideLayerItem |
void | HideLayerItem | |
Added an item to be hidden on the layer state.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LayerItem
Returns:
IsLayerItemHidden |
boolean | IsLayerItemHidden | |
Check if the item is hidden on the layer state.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
LayerItem
Returns:
SetDefaultLayer |
void | SetDefaultLayer | |
Sets up a default layer of the specified type.
This function is equivalent to setting the default layer name for the session using the configuration option "def_layer". This does not save the status to a particular model. The default layer status does not remain on a layer if it is renamed.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DefLayerType
DefaultLayerName
Returns:
GetDefaultLayer |
String | GetDefaultLayer | |
Retrieves the name of the default layer of the specified type.
User Guide References:
Parameters:
DefLayerType
Returns: