You can set all drawing setup file options from a
Creo TOOLKIT application. To do this, import a text file in the format of the drawing setup file using the function
ProInputFileRead(), with the file type set to
PRO_DWG_SETUP_FILE. You can create such a file from
Creo TOOLKIT with function
ProOutputFileMdlnameWrite(). See the
Interface: Data Exchange section for information on these functions.
Use the functions
ProDrawingSetupOptionGet() and
ProDrawingSetupOptionSet() to return and assign a specific drawing setup file option.
Some of the 2D detail options of the drawings are also applicable to 3D models. The detail options are applied to the model in the same way as to the drawings. Further, the detail options for the model and their values are also stored in the model in the same way as in the drawings.
Use the function
ProMdlDetailOptionGet() to get the value of the specified detail option for the model. The function
ProMdlDetailOptionSet() sets the value for the specified detail option of the model.