Mechanism

Functions

A3DStatus

A3DAsmGetFixedComponents

A3DStatus

A3DAsmGetFixedTogetherComponents

A3DStatus

A3DAsmGetFlexibleComponents

Detailed Description

group a3d_mechanism

Some geometric entities are linked together so that they remain rigidly connected. This connection information can be retrieved using the following functions. For more information, see Rigid Links section in the programming guide.

Function Documentation

A3DStatus A3DAsmGetFixedComponents(const A3DAsmProductOccurrence *pOwnerNode, A3DUns32 *puiNumberOfFixedSubNodes, A3DAsmProductOccurrence ***pppFixedSubNodes)

Builds a list of the components which are rigidly connected to an owner.

Version

11.2

Parameters:
  • pOwnerNode – The base Product Occurrence the resulting list in built on.

  • puiNumberOfFixedSubNodes – The size pppFixedSubNodes

  • pppFixedSubNodes – The resulting array.

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 A3DAsmGetFixedTogetherComponents(const A3DAsmProductOccurrence *pOwnerNode, A3DUns32 *ppuiSizeCount, A3DUns32 **ppuiSizeArray, A3DAsmProductOccurrence ***pppFixedTogetherNodes)

Given a base product occurrence, builds a set of arrays of rigidly linked together entities.

Version

11.2

Parameters:
  • pOwnerNode – The base Product Occurrence the resulting list in built on.

  • ppuiSizeCount – The size of ppuiSizeArray and pppFixedTogetherNodes

  • ppuiSizeArray – The size of each element of pppFixedTogetherNodes

  • pppFixedTogetherNodes – An array of arrays. Each internal array is a group of components linked together.

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 A3DAsmGetFlexibleComponents(const A3DAsmProductOccurrence *pOwnerNode, A3DUns32 *puiNumberOfFlexibleSubNodes, A3DAsmProductOccurrence ***pppFlexibleSubNodes)

Given a base product occurrence, builds an array of flexible subnodes.

Version

11.2

Parameters:
  • pOwnerNode – The base Product Occurrence the resulting list in built on.

  • puiNumberOfFlexibleSubNodes – The size pppFlexibleSubNodes

  • pppFlexibleSubNodes – The resulting array.

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