Interface WModelItem
Description
Extends the functionality of
ModelItemThis is the actual type of Model Items in Object Toolkit.
Direct Known Subclasses:
MaterialItem,
ViewModelitem,
LayerState,
WLayer,
WSolidGeometryLayerItem,
WAxis,
WSurface,
WCurve,
WCsys,
WEdge,
WQuilt,
Annotation,
AnnotationPlane,
AnnotationElement,
WXSection,
WFeature,
CombState,
WSimpRep,
StyleState,
WDetailEntityItem,
WDetailSymbolDefItem,
WDetailGroupItem,
WDetailOLEObject,
WRefDimension,
WUDFDimension,
WDimension2D,
WSolidBody,
WExplodedState,
WNote User Guide References:
Method Summary
void | |
| |
String | |
| Gets the "default" name for the item. This is the name assigned by Creo Parametric to the item when it was created, before it may or may not have been modified by the user. For feature names where the default name would include spaces, this function will substitute underscore characters ("_") for spaces. |
void | |
| Identifies if the item is hidden via the "Hide" menu choice in Creo Parametric. |
boolean | |
| Identifies if the item is hidden via the "Hide" menu choice in Creo Parametric. |
boolean | |
| Identifies whether or not the item's name is readonly. |
boolean | |
| Check if ProModelitem is a zone feature. |
void | |
| Unhides the item, similar to the Creo Parametric menu choice "Unhide". |
Method Detail
DeleteUserDefinedName |
void | DeleteUserDefinedName | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Unhides the item, similar to the Creo Parametric menu choice "Unhide".
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Identifies if the item is hidden via the "Hide" menu choice in Creo Parametric.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
IsHidden |
boolean | IsHidden | () |
Identifies if the item is hidden via the "Hide" menu choice in Creo Parametric.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
xtrue if item is hidden otherwise xfalse.
IsNameReadOnly |
boolean | IsNameReadOnly | () |
Identifies whether or not the item's name is readonly.
User Guide References:
Returns:
xtrue if name is readonly otherwise xfalse.
IsZoneFeature |
boolean | IsZoneFeature | () |
Check if ProModelitem is a zone feature.
User Guide References:
Returns:
xtrue if Modelitem is zone feature otherwise xfalse.
GetDefaultName |
String | GetDefaultName | () |
Gets the "default" name for the item. This is the name assigned by Creo Parametric to the item when it was created, before it may or may not have been modified by the user. For feature names where the default name would include spaces, this function will substitute underscore characters ("_") for spaces.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Model item default name.