Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlDetailOptionGet


Description
Get the model detail option
Synopsis
#include <ProMdl.h>
ProErrorProMdlDetailOptionGet(
ProMdl mdl
/* (In)
The model
*/
ProName option
/* (In)
The detail option name
*/
ProLine value
/* (Out)
The value of the detail option
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_E_NOT_FOUNDThe option string is not a valid detail option name for this model.
PRO_TK_NO_LICENSEThe option is restricted by a license the user does not have.
PRO_TK_BAD_CONTEXTThe detail option is not available in this application type (e.g. assembly, part)

Manual References:

  1. Drawings: Drawing Setup
  2. Drawings: Drawing Setup

Sample Code References:

  1. pt_examples ( TestGtol.c )