• | Copy Geometry / Publish Geometry |
• | Shrinkwrap |
• | Merge / Cutout |
• | Inheritance |
• | PRO_E_FEATURE_TYPE—Specifies the feature type and should be PRO_FEAT_GEOM_COPY, for Copy Geometry, Publish Geometry, and Shrinkwrap features. |
• | PRO_E_CG_FEAT_SUB_TYPE—Specifies the sub feature type and is a mandatory element. It is visible for all copy geometry features. The valid sub types
are as follows:
|
• | PRO_E_CG_REFS_TYPE—Specifies the type of references used in a copy geometry feature (a published geometry feature, or an selected array of surfaces, edges, curves and datums). It is visible for Copy Geometry features. |
• | PRO_E_CG_LOCATION—Specifies a compound element that indicates the method used for placement of the feature within the parent model. This is valid for Copy Geometry and Shrinkwrap features. See the section describing Element Details of the Subtree PRO_E_CG_LOCATION for more information. |
• | PRO_E_CG_PG_OR_REFS—Specifies either a published geometry feature to copy or a collection of local geometry references to copy. It is visible
for Copy Geometry features and has the following elements:
Note
The reference collection elements PRO_E_STD_SURF_COLLECTION_APPL, PRO_E_STD_CURVE_COLLECTION_APPL, PRO_E_CG_OBJS_COLL may return the item of type PRO_QUERY. If PRO_QUERY is encountered, the Creo TOOLKIT application cannot access or modify the rules of the query. However, the application can redefine the other properties of
the DSF without affecting or removing the query. For more information refer to the section Saved Queries for Copy Geometry and Publish Geometry Features.
|
• | PRO_E_SW_COLLECTION_TYPE—Specifies the collection mode used while creating a Shrinkwrap feature. The values for this element, specified by the enumerated
type ProShrinkwrapCollectionType, are as follows:
|
• | PRO_E_SW_OPTIONS—Specifies Shrinkwrap feature options. This element is visible for Shrinkwrap features and has the following elements:
|
• | PRO_E_SW_COMP_SUBSET—Specifies components of the assembly to be considered when creating the Shrinkwrap. This array element consists of an array
of Shrinkwrap component subset elements (PRO_E_SW_COMPONENT). That element includes the following elements:
|
• | PRO_E_SW_REFS_COLL—Specifies the collection of surfaces and other references to be included or excluded from the Shrinkwrap feature. It has
the following elements:
|
• | PRO_E_DSF_PROPAGATE_ANNOTS—Specifies rules about how to propagate annotations. See the section Element Details of PRO_E_DSF_PROPAGATE_ANNOTS below for the structure and contents of this element. |
• | PRO_E_CG_SRFS_COPY—Specifies a compound element that specifies copied surfaces. It is visible for Copy Geometry features and has the following
elements:
|
• | PRO_E_DSF_DTMS_FITS—Specifies a compound element that indicates the rules for fitting datums in the DSF feature. It is visible for all internal Copy Geometry features) and Shrinkwrap features. This compound element includes PRO_E_DTMPLN_FIT and PRO_E_DTMAXIS_FIT subtrees for any or all of the copied datums. Refer to the chapter Element Trees: Datum Features for details on the datum fit subtrees. |
• | PRO_E_DSF_DEPENDENCY—Specifies the dependency type of the Copy Geometry Feature. The values for this element are specified by the enumerated type
ProDSFDependency defined in the header file ProDataShareFeat.h. For more information on the values, refer to the section Feature Element Tree. The valid values for the dependency status are as follows:
Note
From Creo Parametric 3.0 onward, the enumerated type ProDsfDependency has been deprecated. Use the enumerated type ProDSFDependency instead.
|
• | PRO_E_DSF_NOTIFY_UPDATE—Specify the notification status for the specified feature using the enumerated value ProDsfNotifyUpdate. Use this element only if the element PRO_E_DSF_DEPENDENCY is set to the value PRO_DSF_UPDATE_MANUALLY. The valid values for this element are:
|
• | PRO_E_CMPST_DESIGN_SURF_DIR—Specify the stacking direction for a layup surface and the valid value is CMPST_LAYUP. |
• | PRO_E_DSF_EXT_LOCAL_TYPE—Specifies the DSF location type:
Note
The purpose of External DSF's is to copy geometry from one model to another model without the need to copy the geometry in
the context of the assembly. External DSF's reduce the dependency on the assembly and all models along the path between the
two components. Once a feature has been made "External", it cannot be converted to become internal.
|
• | PRO_E_DSF_SEL_REF_MDL—Specifies the model to use for the external DSF. |
• | PRO_E_CG_PLACEMENT—Specifies the placement of the external reference model in the target model. It has the following elements:
|
• | PRO_E_CG_FOLLOW_SRF_OPT—Specifies the options for surface to be followed. |
• | PRO_E_DSF_ANNOT_CPY_ALL—Specifies a flag whether to copy all annotation elements. |
• | PRO_E_DSF_ANNOT_DEPEND_ALL—Specifies a flag whether to make the copied annotation elements as dependent on their originals. |
• | PRO_E_DSF_ANNOT_AUTO_CPY_DTM—Specifies a flag to propagate annotation planes and other datums referenced by annotation elements automatically. Annotation planes are propagated if the annotation reference comprising of the solid or surface geometry is copied. |
• | PRO_E_DSF_ANNOT_SELECTIONS—Instead of using the automatic flags for propagation, the DSF feature can specify a list of annotations to propagate. Each
subelement representing an annotation has the following sub-elements:
|
|
|
|
|
• | p_datasharing_feature—Specifies the data sharing feature. |
• | p_orig_path—Specifies the component path from the top level assembly to the subcomponent that owns the annotation. Pass NULL if the annotation is owned by the top level model in the data sharing feature. |
• | p_orig_item—Specifies the annotation item in the original model. |
• | PRO_E_FEATURE_TYPE—Specifies the feature type and should be PRO_FEAT_GEN_MERGE. |
• | PRO_E_GMRG_FEAT_TYPE—Specifies the type of General Merge Feature:
|
• | PRO_E_DSF_REF_MDL—Specifies the reference model. It has the following elements:
|
• | PRO_E_GMRG_MATERIAL_OPT—Specifies the general material options. These are listed as follows:
Refer to Creo Parametric Assembly Help for more information.
|
• | PRO_E_GMRG_VARIED_ITEMS—Specifies a pointer element that defines the inheritance feature varied items and their values. This handle cannot be directly read or modified by Creo TOOLKIT. Instead, use the Visit functions available in ProVariantFeat.h to read varied items. To set varied items (after the feature has been created), use the appropriate modification function on an item whose owner is the variant feature model handle (ProVariantfeatMdlGet()). For more information, refer to the section Inheritance Feature and Flexible Component Variant Items. |
• | PRO_E_GMRG_COPY_DATUMS—True to copy datums with this merge or inheritance feature, false to leave them uncopied. |
• | PRO_E_DSF_PROPAGATE_ANNOTS—Specifies rules about how to propagate annotations. Refer to the section Feature Element Tree for the Copy Geometry, Publish Geometry, and Shrinkwrap Features for the details. A Shrinkwrap feature is a collection of surfaces and datum features of a model that represents the exterior of the model. You can use a part, skeleton, or top-level assembly as the source model for a Shrinkwrap feature. A Shrinkwrap feature is associative and automatically updates to reflect changes in the parent copied surfaces. |
• | PRO_E_DSF_DTMS_FIT—Specifies a compound element that indicates the rules for fitting datums in the DSF feature. It is visible for all internal Copy Geometry features) and Shrinkwrap features. This compound element includes PRO_E_DTMPLN_FIT and PRO_E_DTMAXIS_FIT subtrees for any or all of the copied datums. Refer to the chapter Element Trees: Datum Features for details on the datum fit subtrees. |
• | PRO_E_DSF_DEPENDENCY—Specifies the dependency type. The values for this element are specified by the enumerated type ProDsfDependency.
Note
From Creo Parametric 3.0 onward, the enumerated type ProDsfDependency has been deprecated. Use the enumerated type ProDSFDependency instead.
The types of dependencies are:
|
• | Dimensions
|
• | Parameters
|
• | Feature (Inheritance feature only)
|
• | Annotation (Inheritance feature only)
|
Basic Model Properties
|
ProMdlMdlnameGet()
ProMdlTypeGet()
ProMdlSubtypeGet()
ProMdlPrincipalunitsystemGet()
ProUnitsystemUnitGet()
ProUnitsystemTypeGet()
ProUnitsystemIsStandard()
ProUnitIsStandard()
ProUnitTypeGet()
ProUnitConversionGet()
ProSolidAccuracyGet()
ProSolidOutlineGet()
ProSolidOutlineCompute()
|
Basic Model Items
|
ProModelitemNameGet()
ProModelitemDefaultnameGet()
ProSelectionModelitemGet()
|
Dimensions
|
ProSolidDimensionVisit()
ProFeatureDimensionVisit()
ProDimensionNomvalueGet()
ProDimensionBoundGet()
ProDimensionSymtextGet()
ProDimensionTollabelGet()
ProDimensionSymbolGet()
ProDimensionValueGet()
ProDimensionToltypeGet()
ProDimensionToleranceGet()
ProDimensionTolerancedecimalsGet()
ProDimensionTolerancedenominatorGet()
ProDimensionTypeGet()
ProDimensionIsFractional()
ProDimensionDecimalsGet()
ProDimensionDenominatorGet()
ProDimensionIsReldriven()
ProDimensionIsRegenednegative()
ProDimensionTextGet()
ProDimensionTextstyleGet()
ProDimensionIsToleranceDisplayed()
ProDimensionIsBasic()
ProDimensionIsInspection()
ProDimensionIsBaseline()
ProDimensionIsOrdinate()
ProDimensionOrdinatestandardGet()
ProDimensionLocationGet()
ProDimensionPlaneGet()
ProDimensionAttachmentsGet()
ProDimensionOverridevalueGet()
ProDimensionValuedisplayGet()
|
Parameters
|
ProParameterVisit()
ProParameterValueWithUnitsGet()
ProParameterUnitsGet()
ProParameterIsEnumerated()
ProParameterRangeGet()
ProParameterScaledvalueGet()
|
Features
|
ProSolidFeatVisit()
ProFeatureTypeGet()
ProFeatureTypenameGet()
ProFeatureSubtypeGet()
ProFeatureStatusGet()
ProSolidFeatstatusGet()
ProFeatureChildrenGet()
ProFeatureParentsGet()
ProFeatureCopyinfoGet()
ProFeatureGroupGet()
ProFeatureGroupStatusGet()
ProFeatureGrppatternStatusGet()
ProFeatureHasGeomchks()
ProFeatureIsIncomplete()
ProFeatureIsNcseq()
ProFeatureIsReadonly()
ProFeatureNumSectionsGet()
ProFeatureNumberGet()
ProFeaturePatternGet()
ProFeaturePatternStatusGet()
ProFeatureSectionCopy()
ProFeatureSolidGet()
ProFeatureVerstampGet()
ProFeatureVisibilityGet()
|
Annotations
|
ProMdlNoteVisit()
ProSolidDispoutlineGet()
ProNoteTextGet()
ProNotePlacementGet()
ProNoteURLGet()
ProNoteOwnerGet()
ProNoteTextstyleGet()
ProTextStyle*Get()
ProNoteDtlnoteGet()
|
Annotations
|
ProNoteLeaderstyleGet()
ProNoteElbowlengthGet()
ProMdlGtolVisit()
ProGtolTopModelGet()
ProGtolTypeGet()
ProGtol*Get()
ProGtolRightTextGet()
ProGtolTopTextGet()
ProGtolPrefixGet()
ProGtolSuffixGet()
ProAnnotationTextstyleGet()
ProGtoltextTextstyleGet()
ProSolidDtlsyminstVisit()
ProDtlsyminstDataGet()
ProSolidSurffinishVisit()
ProSurffinishValueGet()
ProSurffinishReferencesGet()
ProSurffinishDataGet()
ProAnnotationIsShown()
ProAnnotationIsInactive()
ProAnnotationElementGet()
ProAnnotationelemFeatureGet()
ProAnnotationplaneAngleGet()
ProAnnotationplaneFrozenGet()
ProAnnotationplanePlaneGet()
ProAnnotationplaneReferenceGet()
ProAnnotationplaneTypeGet()
ProAnnotationplaneVectorGet()
ProAnnotationplaneViewnameGet()
ProGtolDatumReferencesGet()
|
Dimensions
|
ProDimensionValueSet()
ProDimensionToleranceSet()
ProDimensionBoundSet()
|
Parameters
|
ProParameterValueWithUnitsSet()
|
Features
|
ProFeatureSuppress()
ProFeatureResume()
ProFeatureDelete()
|
Annotations
|
ProNoteTextSet()
ProNoteURLSet()
ProNoteElbowlengthSet()
ProNoteTextstyleSet()
ProTextStyle*Set()
ProGtolValueStringSet()
ProGtolPrefixSet()
ProGtolSuffixSet()
ProGtolTopTextSet()
ProGtolRightTextSet()
ProAnnotationTextstyleSet()
ProGtoltextTextstyleSet()
ProAnnotationShow()
ProCombstateAnnotationErase()
ProSurffinishValueSet()
ProGtolDatumReferencesSet()
ProGtolDatumReferencesSet()
|
|
|
|
|
|
• | feature—Specifies the variant feature |
• | item—Specifies the item. |
• | copy—Specifies whether or not to copy the item into the variant feature. If this argument returns true, the item is copied into the feature. If it is false, the item is not copied. This value overrides the value of the features copy all flag. |
|
|
|
|
|
|
|
|
|
|
|
• | original_ref—Specifies the initial reference handle. |
• | replacement_ref—Specifies the replacement reference handle. |
• | feat_ids—Specifies a ProArray of feature ids (from the base model) which will be assigned to the reference replacement action. |