Data Structures

struct  A3DAsmPartDefinitionData
 A structure that specifies the part definition data. More...
 

Functions

A3DStatus A3DAsmPartDefinitionAddView (A3DAsmPartDefinition *pPartDefinition, A3DMkpView *pView)
 Adds a view in the Array of views. More...
 
A3DStatus A3DAsmPartDefinitionCreate (const A3DAsmPartDefinitionData *pData, A3DAsmPartDefinition **ppPartDefinition)
 Creates an A3DAsmPartDefinition entity from an A3DAsmPartDefinitionData structure. More...
 
A3DStatus A3DAsmPartDefinitionEdit (const A3DAsmPartDefinitionData *pData, A3DAsmPartDefinition *pPartDefinition)
 Allows to modify some data of a part definition. More...
 
A3DStatus A3DAsmPartDefinitionGet (const A3DAsmPartDefinition *pPartDefinition, A3DAsmPartDefinitionData *pData)
 Populates an A3DAsmPartDefinitionData structure. More...
 
A3DStatus A3DDrawingGetReferencesList (const A3DAsmPartDefinition *pPartDefinition, A3DUns32 *puiNumberOfFilePaths, A3DUTF8Char ***pppcSrcFilePaths)
 Get the list of reference files present on drawing. More...
 

Detailed Description

Version
2.0

Entity type is kA3DTypeAsmPartDefinition.

Function Documentation

◆ A3DAsmPartDefinitionGet()

A3DStatus A3DAsmPartDefinitionGet ( const A3DAsmPartDefinition pPartDefinition,
A3DAsmPartDefinitionData pData 
)

Populates an A3DAsmPartDefinitionData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
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

◆ A3DAsmPartDefinitionCreate()

A3DStatus A3DAsmPartDefinitionCreate ( const A3DAsmPartDefinitionData pData,
A3DAsmPartDefinition **  ppPartDefinition 
)

Creates an A3DAsmPartDefinition entity from an A3DAsmPartDefinitionData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_PARTDEFINITION_INCONSISTENT_EMPTY
A3D_SUCCESS

◆ A3DDrawingGetReferencesList()

A3DStatus A3DDrawingGetReferencesList ( const A3DAsmPartDefinition pPartDefinition,
A3DUns32 puiNumberOfFilePaths,
A3DUTF8Char ***  pppcSrcFilePaths 
)

Get the list of reference files present on drawing.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DAsmPartDefinitionAddView()

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 {/start/getting-started}.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_PRODUCTOCCURRENCE_INCONSISTENT_PART_EXTERNAL
A3D_PRODUCTOCCURRENCE_INCONSISTENT_EMPTY
A3D_SUCCESS

◆ A3DAsmPartDefinitionEdit()

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 {/start/getting-started}.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_SUCCESS