Category Assembly, Object ProAsmcomp

Function ProAsmcompPositionSet


Description
Sets the component's initial position before constraints and movements have been applied. If the component is packaged this position helps to determine the component's actual position. This function modifies the assembly component data but does not regenerate the assembly component. To regenerate the component, use ProAsmcompRegenerate().
Replacement in Object TOOLKIT: pfcComponentFeat::Position
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompPositionSet(
ProAsmcomppath* component_path
/* (In)
The path from the top level assembly to the component feature. Required if the component has external references to geometry outside of the immediate assembly. If the component does not have any external references, NULL is allowed.
*/
ProAsmcomp* component
/* (In)
The assembly component
*/
ProMatrix position
/* (In)
The position
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSAn input argument was invalid or component is of
typebulk item .

Manual References:

  1. Assembly: Assembling Components: Assembling Components by Functions
  2. Assembly: Assembling Components: Assembling Components by Functions