Category Assembly, Object ProAsmcomp

Function ProAsmcompEmbed


Description
Embed selected component in its owner assembly.
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompEmbed(
ProSelection comp_sel
/* (In)
Component selection.
*/
ProBoolean embed_recursively
/* (In)
Used only when comp_sel is sub-asm selection. If PRO_B_FALSE and comp_sel is sub-asm selection, then only sub-asm will be embedded. If PRO_B_TRUE and comp_sel is sub-asm then sub-asm and all its possible components will be embedded.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSThe argument is invalid.
PRO_TK_NO_CHANGESelected component is already embedded.

Manual References:

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