Data Structures | |
struct | A3DFRMFeatureTreeData |
Feature tree data Populates the A3DFRMFeatureTreeData structure. More... | |
Functions | |
A3DStatus | A3DAsmPartDefinitionFeatureTreesGet (const A3DAsmPartDefinition *pPartDefinition, A3DUns32 *puiSize, A3DFRMFeatureTree ***pppFeatureTrees) |
Get all feature trees defined in the part definition. More... | |
A3DStatus | A3DFRMFeatureTreeGet (const A3DFRMFeatureTree *pTree, A3DFRMFeatureTreeData *pData) |
Populates the A3DFRMFeatureTreeData structure. More... | |
A3DStatus | A3DFRMGetSpecificNodes (const A3DFRMFeatureTree *pTree, EA3DFRMEnumValue_CadType eCADType, A3DUns32 *piSize, A3DFRMFeature ***pppFeatureNodes) |
Build a List of Features corresponding to a node with specific CAD type. More... | |
Detailed Description
CAD model are represented by a feature tree. A model tree is composed by nodes. Each of these nodes is a build step, whose definition parameters are stored in a feature. The following model is defined with construction entities, then a pad, and a hole.
The model trees are accessible through the product occurence by using the function A3DAsmProductOccurrenceGet, and the function A3DFRMFeatureTreeGet will populate the data structure. An array of feature trees is stored in A3DAsmProductOccurrenceData, usually there is only one feature tree by model.
In addition, the function A3DFRMGetSpecificNodes allows to directly get a list of features with a specific cad type. For instance, to get all features HOLE defined in the tree. In this case,
Note that A3DFRMFeatureTree object is an abstraction of A3DRiSet, so it possible to directly call the function A3DFRMFeatureTreeGet on a set
Enumeration Type Documentation
enum EA3DFRMStatus |
Enumerate the possible types of cad type.
- Version
- 10.2
Enumerator | |
---|---|
kA3DFRMEnumValue_CadType_None |
No type specified |
kA3DFRMEnumValue_CadType_Sketch | |
kA3DFRMEnumValue_CadType_Plane |
Plane |
kA3DFRMEnumValue_CadType_Point |
Point |
kA3DFRMEnumValue_CadType_CoordinateSystem |
CoordinateSystem |
kA3DFRMEnumValue_CadType_Direction |
Direction |
kA3DFRMEnumValue_CadType_Curve |
Curve |
kA3DFRMEnumValue_CadType_Analysis |
Analysis |
kA3DFRMEnumValue_CadType_ImportedSolid |
ImportedSolid |
kA3DFRMEnumValue_CadType_Extrusion | |
kA3DFRMEnumValue_CadType_Revolution | |
kA3DFRMEnumValue_CadType_Surface |
Surface |
kA3DFRMEnumValue_CadType_Block |
Block |
kA3DFRMEnumValue_CadType_Sphere |
Sphere |
kA3DFRMEnumValue_CadType_Cone |
Cone |
kA3DFRMEnumValue_CadType_Cylinder |
Cylinder |
kA3DFRMEnumValue_CadType_Torus |
Torus |
kA3DFRMEnumValue_CadType_Dome |
Dome |
kA3DFRMEnumValue_CadType_Helix |
Helix |
kA3DFRMEnumValue_CadType_TruncatedPrism |
TruncatedPrism |
kA3DFRMEnumValue_CadType_Hole | |
kA3DFRMEnumValue_CadType_Chamfer | |
kA3DFRMEnumValue_CadType_Blend |
Blend |
kA3DFRMEnumValue_CadType_Fillet | |
kA3DFRMEnumValue_CadType_Groove |
Groove |
kA3DFRMEnumValue_CadType_Pocket |
|
kA3DFRMEnumValue_CadType_Sweep |
Sweep |
kA3DFRMEnumValue_CadType_Pipe |
Pipe |
kA3DFRMEnumValue_CadType_Group |
Group |
kA3DFRMEnumValue_CadType_Mirror |
Mirror |
kA3DFRMEnumValue_CadType_Pattern | |
kA3DFRMEnumValue_CadType_GroupPattern | |
kA3DFRMEnumValue_CadType_Instance |
Instance, see also see Pattern |
kA3DFRMEnumValue_CadType_Package |
Package |
kA3DFRMEnumValue_CadType_Shell |
Shell |
kA3DFRMEnumValue_CadType_Trim |
Trim |
kA3DFRMEnumValue_CadType_Split |
Split |
kA3DFRMEnumValue_CadType_Sew |
Sew |
kA3DFRMEnumValue_CadType_Rib |
Rib |
kA3DFRMEnumValue_CadType_Draft |
Draft |
kA3DFRMEnumValue_CadType_Hollow |
Hollow |
kA3DFRMEnumValue_CadType_Quilt |
Quilt |
kA3DFRMEnumValue_CadType_LocalPush |
Local Push |
kA3DFRMEnumValue_CadType_BooleanOperation |
Boolean Operation |
kA3DFRMEnumValue_CadType_Intersect |
Intersect |
kA3DFRMEnumValue_CadType_CutOut |
CutOut |
kA3DFRMEnumValue_CadType_Merge |
Merge |
kA3DFRMEnumValue_CadType_Translate |
Translate |
kA3DFRMEnumValue_CadType_Rotate |
Rotate |
kA3DFRMEnumValue_CadType_Scale |
Scale |
kA3DFRMEnumValue_CadType_Offset |
Offset |
kA3DFRMEnumValue_CadType_Transformation |
Transformation |
kA3DFRMEnumValue_CadType_Thread |
Thread |
kA3DFRMEnumValue_CadType_Cosmetic |
Cosmetic |
kA3DFRMEnumValue_CadType_Material |
Material |
kA3DFRMEnumValue_CadType_Thickness |
Thickness |
kA3DFRMEnumValue_CadType_RemoveFace |
Remove Face |
kA3DFRMEnumValue_CadType_UserDefined |
User Defined |
Function Documentation
A3DStatus A3DFRMFeatureTreeGet | ( | const A3DFRMFeatureTree * | pTree, |
A3DFRMFeatureTreeData * | pData | ||
) |
Populates the A3DFRMFeatureTreeData structure.
- Version
- 10.2
A3DStatus A3DFRMGetSpecificNodes | ( | const A3DFRMFeatureTree * | pTree, |
EA3DFRMEnumValue_CadType | eCADType, | ||
A3DUns32 * | piSize, | ||
A3DFRMFeature *** | pppFeatureNodes | ||
) |
Build a List of Features corresponding to a node with specific CAD type.
- Version
- 10.2
- Parameters
-
eCADType cad type of feature (Hole, Pattern, ...) piSize number with the type specified ppFeatureNodes features found with the specific cad type (Hole, Pattern, ...)
A3DStatus A3DAsmPartDefinitionFeatureTreesGet | ( | const A3DAsmPartDefinition * | pPartDefinition, |
A3DUns32 * | puiSize, | ||
A3DFRMFeatureTree *** | pppFeatureTrees | ||
) |
Get all feature trees defined in the part definition.
- Deprecated:
This function is deprecated. Please use the A3DFRMFeatureTree who are in the A3DAsmProductOccurrenceData. version 12.
- Version
- 10.2
- Parameters
-
pPartDefinition part definition to query piSize number of feature trees contained pppFeatureTrees feature tree array