API 文件集 > Miscellaneous > Object ProMfgprocitem > Function ProMfgprocitemFromTemplateCreate
Function ProMfgprocitemFromTemplateCreate
Description
Creates a new manufacturing process step or workcell from a template file.
Licensing Requirement
Synopsis
ProMfgprocitemFromTemplateCreate
(
ProMfg mfg
/* (In)
The manufacturing model.
*/
/* (In)
The type of table to create new item.
*/
ProPath template_file
/* (In)
Full path to the template file.
*/
ProMfgprocItem* predecessor
/* (In)
The step item occurring just before this item in the table. Pass NULL to place the step at the top of the table, or if creating a workcell.
*/
ProMfgprocItem** new_items
/* (Out)
ProArray of new items. Free this output using ProArrayFree().
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The manufacturing process table is not initialized. See ProMfgProctableEnable().
The template file could not be found.
The template file could not be parsed successfully.
User Guide References
這是否有幫助?