API 文件集 > Assembly > Object ProAsmcomp > Function ProAsmcompFillFromMdl
Function ProAsmcompFillFromMdl
Description
Copy specified template into a model of the specified component.
Replacement in Object TOOLKIT:
Synopsis
#include <ProAsmcomp.h>
ProAsmcompFillFromMdl
(
ProAsmcomp* comp_handle
/* (In)
Handle to the component.
*/
ProMdl template_model
/* (In)
Handle to the model to be used as the copy template.
*/
)
Returns
The action has been successfully performed.
The component handle is invalid; or the template handle is invalid; or the template type does not correspond to that of the component model.
The template type does not correspond to the component type.
Features exist in a model of the component; copying the template to this model is not allowed.
The model can not be used as a template or has external dependencies. Copy is aborted.
Component creation failed.
Required license not found.
Unsupported model. For instance, embedded models.
Sample Code References
User Guide References
這是否有幫助?