Notebook
 
The functions described in this section work with notebook (.lay) files.
Functions Introduced:
The function ProLayoutDeclare() declares a notebook name to the specified Creo+ model or notebook. You can resolve conflicts using the enumerated type ProDeclareOptions. It has the following values:
PRO_DECLARE_INTERACTIVE—Resolves the conflict in interactive mode.
PRO_DECLARE_OBJECT_SYMBOLS—Keep the symbols in the specified Creo+ model or notebook object.
PRO_DECLARE_LAYOUT_SYMBOLS—Keep the symbols specified in the notebook.
PRO_DECLARE_ABORT—Abort the notebook declaration process and return an error.
Use the function ProLayoutUndeclare() to undeclare the notebook name to the specified Creo+ model or notebook. You can resolve conflicts using the enumerated type ProUndeclareOptions. It has the following values:
PRO_UNDECLARE_FORCE—Continues to undeclare the notebook even if references exist.
PRO_UNDECLARE_CANCEL—Does not undeclare the notebook if references exist.
The method ProLayoutRegenerate() regenerates the specified notebook.
È stato utile?