Category Assembly, Object ProAsmcomp

Function ProAsmcompAsmitemInit


Description
Initializes the ProAsmitem handle.
Replacement in Object TOOLKIT: wfcWAssembly::CreateAssemblyItem
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompAsmitemInit(
ProMdl p_owner_handle
/* (In)
The model owner of the item
*/
int item_id
/* (In)
The item identifier
*/
ProType item_type
/* (In)
The item type
*/
ProName name
/* (In)
The parameter name : used for PRO_PARAMETER in this case item_type should be PRO_PART or PRO_ASSEMBLY
*/
ProAsmcomppath* path
/* (In)
The item path. To set a component as flexible, the path of this ProAsmitem should not contain the ID of a component which is
  • out of flexible context.
  • to be made flexible.
*/
ProAsmitem* p_handle
/* (Out)
The handle to initialize
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid or item was not found .

Manual References:

  1. Assembly: Basic Assembly Access: Flexible Components
  2. Assembly: Basic Assembly Access: Flexible Components