Part Definition
Types
Functions
Detailed Description
- group a3d_partdefinition
Entity type is kA3DTypeAsmPartDefinition.
- Version
2.0
Function Documentation
-
A3DStatus A3DAsmPartDefinitionGet(const A3DAsmPartDefinition *pPartDefinition, A3DAsmPartDefinitionData *pData)
Populates an A3DAsmPartDefinitionData structure.
- Version
2.0
- Return values:
A3D_INITIALIZE_NOT_CALLED –
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INVALID_ENTITY_NULL –
A3D_INVALID_ENTITY_TYPE –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DAsmPartDefinitionCreate(const A3DAsmPartDefinitionData *pData, A3DAsmPartDefinition **ppPartDefinition)
Creates an A3DAsmPartDefinition entity from an A3DAsmPartDefinitionData structure.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_PARTDEFINITION_INCONSISTENT_EMPTY –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DDrawingGetReferencesList(const A3DAsmPartDefinition *pPartDefinition, A3DUns32 *puiNumberOfFilePaths, A3DUTF8Char ***pppcSrcFilePaths)
Get the list of reference files present on drawing.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DAsmPartDefinitionAddView(A3DAsmPartDefinition *pPartDefinition, A3DMkpView *pView)
Adds a view in the Array of views.
- Version
4.1
Warning
This function must not be applied within an HOOPS Visualize context. See Evaluating HOOPS Publish.
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_PRODUCTOCCURRENCE_INCONSISTENT_PART_EXTERNAL –
A3D_PRODUCTOCCURRENCE_INCONSISTENT_EMPTY –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DAsmPartDefinitionEdit(const A3DAsmPartDefinitionData *pData, A3DAsmPartDefinition *pPartDefinition)
Allows to modify some data of a part definition.
- Version
5.1
Warning
This function must not be applied within an HOOPS Visualize context. See Evaluating HOOPS Publish.
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INVALID_ENTITY_NULL –
A3D_INVALID_ENTITY_TYPE –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure