Category 3D interface, Object ProOutput

Function ProOutputInclusionWithOptionsSet


DEPRECATED: Since Creo 5.0.0.0
SUPERSEDED BY: No successor will be provided.
Description
Note: This function is deprecated. Sets the values to use while exporting the model to a faceted format such as PRO_INTF_EXPORT_CATIA_CGR.
Synopsis
#include <ProIntf3Dexport.h>
ProErrorProOutputInclusionWithOptionsSet(
ProOutputInclusion inclusion
/* (In)
The inclusion structure.
*/
double* parameters
/* (In)
ProArray of parameters to be set; in this version this array always has 3 elements, which are interpreted as: chord_height, angle_control, step_size (in future this array may be expanded). angle_control must be from 0.0 to 1.0 Setting chord_height or step_size to values too big or too small (for instance, bigger than the model size or smaller than the model absolute accuracy) may cause an error, or other API which accept ProOutputInclusion as an input may instead use some smallest (biggest) values acceptable to them without returning an error.
*/
int config_flags
/* (In)
Bit flags (PRO_FACET_STEP_SIZE_ADJUST and others) to control facet export. See comments against these flags for how to use them.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSThe input arguments were invalid (for instance, parameters array is NULL or its size is not 3).
PRO_TK_OUT_OF_RANGESome parameters are out of range. If PRO_FACET_FORCE_INTO_RANGE is set, the inclusion still will be properly initialized.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Interface: Data Exchange: Exporting 3D Models
  3. Interface: Data Exchange: Exporting 3D Models