User's Guide > Assembly: Top-down Design > Assembly Component Functions
Assembly Component Functions
 
Functions Introduced:
Create new components in the specified assembly by copying them from a specified model using ProAsmcompMdlnameCreateCopy(). This function creates a new component with the specified name, places it at a default location in the assembly, or leaves it unplaced. The input arguments are the assembly to copy from, the new component name, the new component type (either PRO_MDL_ASSEMBLY or PRO_MODEL_PART), the handle to the model used as a template, and specification of default or “unplaced” component placement. If the template handle is NULL, the component is created empty.
ProAsmCompIsUnplaced() determines whether the specified component is unplaced. The input argument is a handle to the component to be checked.
ProAsmCompFillFromMdl() copies the specified template model into a model of the specified component. The input arguments are the handle to the component, and the handle to the model used as a template for the copy.
¿Fue esto útil?