Notebook
The methods described in this section work with notebook (.lay) files.
Methods introduced:
The method
wfcWLayout::Declare declares a notebook name to the specified
Creo Parametric model or notebook. You can resolve conflicts using the enumerated type
wfcLayoutDeclareOption. It has the following values:
• wfcLAYOUT_DECLARE_INTERACTIVE— Resolves the conflict in interactive mode.
• wfcLAYOUT_DECLARE_OBJECT_SYMBOLS— Keep the symbols in the specified Creo Parametric model or notebook object.
• wfcLAYOUT_DECLARE_LAYOUT_SYMBOLS — Keep the symbols specified in the notebook.
• wfcLAYOUT_DECLARE_ABORT— abort the notebook declaration process and return an error.
Use the function
wfcWLayout::Undeclare to undeclare the notebook name to the specified
Creo Parametric model or notebook. You can resolve conflicts using the enumerated type
wfcLayoutUndeclareOption. It has the following values:
• wfcLAYOUT_UNDECLARE_FORCE— Continues to undeclare the notebook even if references exist.
• wfcLAYOUT_UNDECLARE_CANCEL— Does not undeclare the notebook if references exist.