Library | File

Class wfcCombState

# include <wfcCombState.h>

class wfcCombState
 : public virtual wfcWModelItem
{
    xaideclare(wfcCombState)
    ...
};



Description

>Represent Combined State in solid



Method Summary

voidAddAnnotations (wfcCombStateAnnotations_ptr Annotations)
 
voidAddItems (wfcCombStateItems_ptr Items)
 
voidEraseAnnotation (wfcAnnotation_ptr Annot)
 
optional wfcCombStateAnnotations_ptrGetAnnotations ()
 
wfcCombStateData_ptrGetCombStateData ()
Gets Combined State data in the combined state
optional wfcCombStateItems_ptrGetItems ()
 
xboolGetStateOfAnnotations ()
 
xboolGetStateOfSupplGeometry ()
Checks if Supplementary Geometry is controlled by layers or specified combined state.
xboolIsDefault ()
 
xboolIsPublished ()
 
voidRedefineCombState (wfcCombStateData_ptr Data)
Redefines combined state
optional xintsequence_ptrRemoveAnnotations (wfcAnnotations_ptr Annotations)
 
optional xintsequence_ptrRemoveItems (pfcModelItems_ptr Items)
 
voidSetStateOfAnnotations (xbool State)
Change Annotations state at combined state.
voidSetStateOfSupplGeometry (xbool State)
Change Supplementary Geometry state at combined state.


Methods Inherited from Class pfcActionSource:

AddActionListener, RemoveActionListener, AddActionListenerWithType


Methods Inherited from Class pfcParent:

GetChild


Methods Inherited from Class pfcParameterOwner:

GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters


Methods Inherited from Class wfcWParameterOwner:

ExportParameterTable, ApplyParameterTableset


Methods Inherited from Class pfcRelationOwner:

DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression


Methods Inherited from Class wfcWRelationOwner:

GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits


Methods Inherited from Class pfcChild:

GetDBParent, GetOId


Methods Inherited from Class pfcModelItem:

GetName, SetName, GetId, GetType


Methods Inherited from Class wfcWModelItem:

DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName



Method Detail

wfcCombStateData_ptrGetCombStateData ()

Gets Combined State data in the combined state

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - No such combined state in the specified model.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
CombStateData



voidRedefineCombState (wfcCombStateData_ptr Data)

Redefines combined state

Exceptions thrown (but not limited to):

pfcXToolkitInvalidType - Invalid references. Possible errors: - The type of one of the references is not valid. - Reference of some type appears twice or more. - Id and type of a reference don't match.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
Data
Combined State data
Returns:



voidAddAnnotations (wfcCombStateAnnotations_ptr Annotations)

 

Exceptions thrown (but not limited to):

pfcXToolkitInvalidItem - size of status_flags' array differs from the size of annotations' array.

pfcXToolkitNotFound - This legacy combined state doesn't have annotation state. Annotations cannot be added.

pfcXToolkitNoChange - Status of some annotations wasn't changed. Some annotations existed in the combined state already and their status was same as the one in the input.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
Annotations
 
Returns:



voidAddItems (wfcCombStateItems_ptr Items)

 
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
Items
Returns:



optional wfcCombStateAnnotations_ptrGetAnnotations ()

 

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This legacy combined state doesn't have annotation state. Annotations cannot be added.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
 



optional wfcCombStateItems_ptrGetItems ()

 
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:



optional xintsequence_ptrRemoveAnnotations (wfcAnnotations_ptr Annotations)

 

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This legacy combined state doesn't have annotation state. Annotations cannot be Removed.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
Annotations
 
Returns:
 



optional xintsequence_ptrRemoveItems (pfcModelItems_ptr Items)

 
Manual References:
Solid: Combined States of a Solid
Parameters:
Items
Returns:



voidEraseAnnotation (wfcAnnotation_ptr Annot)

 

Exceptions thrown (but not limited to):

pfcXToolkitNoChange - The annotation is not shown in the target model.

pfcXToolkitNoLicense - License check failure.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
Annot
 
Returns:



xboolGetStateOfAnnotations ()

 
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
 



xboolGetStateOfSupplGeometry ()

Checks if Supplementary Geometry is controlled by layers or specified combined state.
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
Flag to determine whether the given combined state's Supplementary Geometry is controlled by layers or combined state



xboolIsDefault ()

 
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
 



xboolIsPublished ()

 
Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Returns:
 



voidSetStateOfAnnotations (xbool State)

Change Annotations state at combined state.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - The operation can't be done. (Model should be top)

pfcXToolkitNoChange - Combined state's current annotations states is same as the requested state.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
State
Flag to set the given combined state's Annotations state.
Returns:
 



voidSetStateOfSupplGeometry (xbool State)

Change Supplementary Geometry state at combined state.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - The operation can't be done. (Model should be top)

pfcXToolkitNoChange - Combined state's current supplementary geometry states is same as the requested state.


Manual References:
Solid: Combined States of a Solid, Solid: Combined States of a Solid
Parameters:
State
Flag to set the given combined state's Supplementary Geometry state.
Returns: