| Library | File | Frames | Expand |
| void | RecordExternalSelection | (wfcSelectionRecordAction RecordAction) |
|
Places external selection into pfcBaseSession::Select(pfcSelectionOptions_ptr, optional pfcSelections_ptr) buffer. Together with wfcWSession::RegisterExternalSelectionHighlight(wfcExternalSelectionHighlight_ptr) provides interaction between external application media (like a tree) and pfcBaseSession::Select(pfcSelectionOptions_ptr, optional pfcSelections_ptr). Upon an object selection in their media, applications should create wfcWSelection and use this method to pass it to pfcBaseSession::Select(pfcSelectionOptions_ptr, optional pfcSelections_ptr). Exceptions thrown (but not limited to): pfcXToolkitInvalidItem - Rejected by ProSelect() filters.
|
| wfcCollection_ptr | GetCollection | () |
|
Get collection object containing selection Exceptions thrown (but not limited to): pfcXToolkitInvalidType - The selection object does not contain a collection. pfcXToolkitInvalidPtr - The selection object contains a chain, but this chain reference is no longer valid. Chain references contained in ProSelections are only valid for as long as the chain is selected in the selection buffer.
|
| pfcTable_ptr | GetDrawingTable | () |
|
Get drawing table object from its selection
|
| wfcWFeature_ptr | GetPipelineFeature | () |
|
Get pipeline feature from its selection
|
| xbool | Verify | () |
|
Verifies the validity of the wfcWSelection. Exceptions thrown (but not limited to): pfcXToolkitInvalidType - Selection is invalid.
|
| wfcWWindow_ptr | GetWindow | () |
|
Retrieves the window in which selection was made. Exceptions thrown (but not limited to): pfcXToolkitInvalidPtr - The selection argument is an invalid pointer.
|
| xreal | EvaluateAngle | (wfcWSelection_ptr Selection) |
|
Evaluates angle between this and specified selection. Selections must represents straight edges
|
| xreal | EvaluateDiameter | () |
|
Finds the geometry item (surface) diameter. Only revolved surfaces (cylinder, cone, and so on) are valid.
|
| void | SetVisibleAppearance | (optional wfcAppearance_ptr AppearProps) |
|
Set the appearance properties
|
| optional wfcAppearance_ptr | GetVisibleAppearance | () |
|
Gets the appearance properties Exceptions thrown (but not limited to): pfcXToolkitNotExist - The property does not exists.
|
| void | SetVisibleTextures | (wfcTextures_ptr TextureProps) |
|
Sets the texture properties Note Call SetVisibleAppearance method before this else the method will throw an exception.
|
| optional wfcTextures_ptr | GetVisibleTextures | () |
|
Gets the texture properties Exceptions thrown (but not limited to): pfcXToolkitNotExist - Properties does not exist on item.
|
| void | ShowAnnotations | (pfcDrawing_ptr DrawingModel, wfcAnnotationType AnnotType, optional pfcView2D_ptr DrawingView) |
|
Exceptions thrown (but not limited to): pfcXToolkitNotDisplayed - Drawing in which annotation will be shown is not displayed in the current session. pfcXToolkitInvalidType - Input annotation type not supported.
|
| void | ShowAxes | (pfcDrawing_ptr DrawingModel, optional pfcView2D_ptr DrawingView) |
|
Exceptions thrown (but not limited to): pfcXToolkitNotDisplayed - Drawing in which annotation will be shown is not displayed in the current session. pfcXToolkitInvalidType - Input annotation type not supported.
|
| void | ShowDatumTargets | (pfcDrawing_ptr DrawingModel, optional pfcView2D_ptr DrawingView) |
|
Exceptions thrown (but not limited to): pfcXToolkitNotDisplayed - Drawing in which annotation will be shown is not displayed in the current session. pfcXToolkitInvalidType - Input annotation type not supported.
|
| wfcAnnotationPlane_ptr | CreateAnnotationPlane | (pfcVector3D_ptr NormalVector) |
|
Exceptions thrown (but not limited to): pfcXToolkitInvalidMatrix - Invalid combination of the planar surface and the direction vector.
|
| wfcAnnotationElement_ptr | AddAnnotationElement | (xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitCantModify - Datum Target annotation feature cannot be modified.
|
| void | SetAnnotationElementReferences | (wfcAnnotationElements_ptr Elements, wfcAnnotationReferenceSetsArray_ptr References, xbool InvokeUI) |
| LICENSE: 222
Replaces all of the each of the annotation elements' user-defined references with the indicated sets. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The reference array contains the same reference more than once. pfcXToolkitUnattachedFeats - Reference modification was aborted due to regeneration failure. pfcXToolkitCantModify - User defined references are not permitted for driving dimension annotation elements. pfcXToolkitAmbiguous - The number of reference sets does not match the number of elements supplied. pfcXToolkitInvalidItem - One or more annotation elements do not belong to the owner feature.
|
| void | CopyAnnotationElement | (wfcAnnotationElement_ptr AnnotElem) |
LICENSE: 222
|
| void | DeleteAnnotationElement | (xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitBadContext - The annotation element is readonly and cannot be deleted. pfcXToolkitUnattachedFeats - Deletion was aborted due to regeneration failure. pfcXToolkitNotFound - The data sharing feature's parent model is not in memory; pfcXToolkitNotValid - The element is owned by an independent feature. pfcXToolkitNoPermission - Deletion of set datum tag from datum target annotation feature is not allowed.
|
| wfcAnnotationElements_ptr | AddElementsInAnnotationFeature | (wfcAnnotations_ptr Annotations, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitCantModify - Only one set datum tag can exist in Datum Target annotation feature
|
| void | DeleteElementsInAnnotationFeature | (pfcSelections_ptr AnnotElements, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitInvalidItem - Feature is invalid for this operation. pfcXToolkitBadContext - The annotation element is readonly and cannot be deleted. pfcXToolkitUnattachedFeats - Deletion was aborted due to regeneration failure. pfcXToolkitNotFound - The data sharing feature's parent model is not in memory; pfcXToolkitNotValid - The element is owned by an independent feature. pfcXToolkitNoPermission - Deletion of set datum tag from datum target annotation feature is not allowed.
|
| void | SetCopyFlagInAnnotationElement | (xbool CopyFlag, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNoChange - The input flag is the same as the current value. pfcXToolkitUnattachedFeats - Reference modification was aborted due to regeneration failure.
|
| void | SetDependencyFlag | (xbool DependencyFlag, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNoChange - The input flag is the same as the current value. pfcXToolkitCantAccess - The element is not owned by a data sharing feature. pfcXToolkitNotFound - The data sharing feature's parent model is not in memory. pfcXToolkitNotValid - The element is owned by an independent feature.
|
| void | SetAnnotationInAnnotationElement | (optional wfcAnnotation_ptr Annotation) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNoChange - The annotation is already contained in this element. pfcXToolkitUnattachedFeats - Modification was aborted due to regeneration failure. pfcXToolkitInvalidType - You cannot assign this type of annotation to the annotation element pfcXToolkitCantModify - datum target annotation element or annotation are not permitted for this function
|
| void | WeakenAnnotationElementReference | (wfcAnnotationReference_ptr Reference, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNotFound - The annotation element doesn't contain this strong reference. pfcXToolkitCantWrite - This strong reference may not be weakened due to the rules for the individual annotation.
|
| void | StrengthenAnnotationElementReference | (wfcAnnotationReference_ptr Reference, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNotFound - The annotation element doesn't contain this weak reference. pfcXToolkitCantWrite - This weak reference may not be strengthened due to the rules for the individual annotation.
|
| void | SetAnnotationReferencesInAnnotationElement | (wfcAnnotationReferences_ptr References, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitBadContext - The reference array contains the same reference more than once. pfcXToolkitUnattachedFeats - Reference modification was aborted due to regeneration failure. pfcXToolkitCantModify - User defined references are not permitted for driving dimension annotation elements.
|
| void | RemoveAnnotationReferenceInAnnotationElement | (wfcAnnotationReference_ptr Reference, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitNotFound - The annotation element does not contain this reference. pfcXToolkitBadContext - This reference is provided from the annotation and cannot be removed. pfcXToolkitUnattachedFeats - Removal was aborted due to regeneration failure.
|
| void | AddAnnotationReferenceInAnnotationElement | (wfcAnnotationReference_ptr Reference, xbool InvokeUI) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitFound - The annotation element already has a reference to this item. pfcXToolkitCantModify - User defined references are not permitted for driving dimension annotation elements.
|
| void | SetAutoPropagateFlagInAnnotationElement | (wfcAnnotationReference_ptr Reference, xbool AutoPropagateFlag) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitBadContext - The element is not owned by an annotation feature. pfcXToolkitNotFound - The annotation element doesn't contain this reference pfcXToolkitNoChange - Reference autopropagate flag is already set to the input value. pfcXToolkitInvalidType - This type of reference does not have an autopropagate flag. pfcXToolkitNoLicense - License check failure.
|
| optional xbool | GetAutoPropagateFlagInAnnotationElement | (wfcAnnotationReference_ptr Reference) |
| LICENSE: 222
Exceptions thrown (but not limited to): pfcXToolkitBadContext - The element is not owned by an annotation feature. pfcXToolkitNotFound - The annotation element doesn't contain this reference pfcXToolkitInvalidType - This type of reference does not have an autopropagate flag. pfcXToolkitNoLicense - License check failure.
|
| wfcAnnotationElement_ptr | CreateAnnotationFeatBaseline | (pfcSelection_ptr Reference, wfcAnnotationPlane_ptr Plane, optional pfcSelection_ptr DirReference) |
LICENSE: 222
|
| wfcWFeature_ptr | CreateFeature | (wfcElementTree_ptr Tree, wfcFeatCreateOptions_ptr Options, optional wfcWRegenInstructions_ptr Instrs) |
|
Creates a feature from the Feature Element Tree Refer to the Release Notes for more information on restrictions of using this function with Multi-CAD models. Use pfcCreateModelSelection(pfcModel_ptr) to get selection of part or top assembly. Use pfcCreateComponentSelection(pfcComponentPath_ptr) to get selection component in an assembly.
|