Library | Package Java Toolkit

Interface CombState

package com.ptc.wfc.wfcCombState;

public interface CombState
  extends com.ptc.wfc.wfcModelItem.WModelItem



Description

>Represent Combined State in solid



Method Summary
voidAddAnnotations (CombStateAnnotations Annotations)
     
voidAddItems (CombStateItems Items)
     
voidEraseAnnotation (Annotation Annot)
     
/*optional*/ CombStateAnnotationsGetAnnotations ()
     
CombStateDataGetCombStateData ()
    Gets Combined State data in the combined state
/*optional*/ CombStateItemsGetItems ()
     
booleanGetStateOfAnnotations ()
     
booleanGetStateOfSupplGeometry ()
     Checks if Supplementary Geometry is controlled by layers or specified combined state.
booleanIsDefault ()
     
booleanIsPublished ()
     
voidRedefineCombState (CombStateData Data)
    Redefines combined state
/*optional*/ intseqRemoveAnnotations (Annotations Annotations)
     
/*optional*/ intseqRemoveItems (ModelItems Items)
     
voidSetStateOfAnnotations (boolean State)
    Change Annotations state at combined state.
voidSetStateOfSupplGeometry (boolean State)
    Change Supplementary Geometry state at combined state.

Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource
AddActionListener, RemoveActionListener, AddActionListenerWithType

Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent
GetChild

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner
GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WParameterOwner
ExportParameterTable, ApplyParameterTableset, MathcadParametersSet, MathcadInputParametersGet

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner
DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WRelationOwner
GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits

Methods Inherited from Interface com.ptc.pfc.pfcObject.Child
GetDBParent, GetOId

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem
GetName, SetName, GetId, GetType

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WModelItem
DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName

Method Detail

GetCombStateData

CombStateDataGetCombStateData ()


    Gets Combined State data in the combined state

Exceptions thrown (but not limited to):

XToolkitNotFound - No such combined state in the specified model.


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


RedefineCombState

voidRedefineCombState (CombStateData Data)


    Redefines combined state

Exceptions thrown (but not limited to):

XToolkitInvalidType - 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:


AddAnnotations

voidAddAnnotations (CombStateAnnotations Annotations)


     

Exceptions thrown (but not limited to):

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

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

XToolkitNoChange - 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:


AddItems

voidAddItems (CombStateItems Items)


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


GetAnnotations

/*optional*/ CombStateAnnotationsGetAnnotations ()


     

Exceptions thrown (but not limited to):

XToolkitNotFound - 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:
 


GetItems

/*optional*/ CombStateItemsGetItems ()


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


RemoveAnnotations

/*optional*/ intseqRemoveAnnotations (Annotations Annotations)


     

Exceptions thrown (but not limited to):

XToolkitNotFound - 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:
 


RemoveItems

/*optional*/ intseqRemoveItems (ModelItems Items)


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


EraseAnnotation

voidEraseAnnotation (Annotation Annot)


     

Exceptions thrown (but not limited to):

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

XToolkitNoLicense - License check failure.


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


GetStateOfAnnotations

booleanGetStateOfAnnotations ()


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


GetStateOfSupplGeometry

booleanGetStateOfSupplGeometry ()


     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


IsDefault

booleanIsDefault ()


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


IsPublished

booleanIsPublished ()


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


SetStateOfAnnotations

voidSetStateOfAnnotations (boolean State)


    Change Annotations state at combined state.

Exceptions thrown (but not limited to):

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

XToolkitNoChange - 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:
 


SetStateOfSupplGeometry

voidSetStateOfSupplGeometry (boolean State)


    Change Supplementary Geometry state at combined state.

Exceptions thrown (but not limited to):

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

XToolkitNoChange - 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: