Category Assembly, Object ProAsmcomp

Function ProAsmcompExtract


Description
Extract selected component with input new name.
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompExtract(
ProSelection comp_sel
/* (In)
Component selection.
*/
ProMdlName newMdlName
/* (In)
New model name.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSThe arguments is invalid.
PRO_TK_NO_CHANGESelected component is not embedded.
PRO_TK_E_FOUNDModel name exists. Please use a different model name.

Manual References:

  1. Assembly: Basic Assembly Access: Embedded Components and Inseparable Assemblies
  2. Assembly: Basic Assembly Access: Embedded Components and Inseparable Assemblies