Description | |||||||||||||||||
Exports 5 of the 7 "slice" formats (STL, Render, Inventor, CatiaFacets, Optegra Visualizer).
NOTE: On UNIX machines, file names are case sensitive. Note: In Creo 3 this function does not support names longer than 31 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProMdlFileName will be added in a future release. |
|||||||||||||||||
Replacement in Object TOOLKIT: | pfcModel::Export | ||||||||||||||||
Synopsis | |||||||||||||||||
#include <ProUtil.h> | |||||||||||||||||
ProError | ProIntfSliceFileWithOptionsMdlnameExport | ( | |||||||||||||||
ProMdl model | |||||||||||||||||
/* (In) | |||||||||||||||||
The pointer to the model to export. If NULL the current model will be used. | |||||||||||||||||
*/ | |||||||||||||||||
ProMdlFileName out_file_name | |||||||||||||||||
/* (In) | |||||||||||||||||
The name of the output file. | |||||||||||||||||
*/ | |||||||||||||||||
ProImportExportFile file_type | |||||||||||||||||
/* (In) | |||||||||||||||||
The type of file to export (STL, Inventor, and so on). | |||||||||||||||||
*/ | |||||||||||||||||
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. If angle_control is out of bounds it will be changed to the closest limit 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. | |||||||||||||||||
*/ | |||||||||||||||||
ProMatrix transf | |||||||||||||||||
/* (In) | |||||||||||||||||
The transformation matrix. If NULL, no transformation will be applied. | |||||||||||||||||
*/ | |||||||||||||||||
ProAsmcomppath* comp_path | |||||||||||||||||
/* (In) | |||||||||||||||||
The component path, in the case of an assembly component. If the model is a part, set this to NULL. | |||||||||||||||||
*/ | |||||||||||||||||
) | |||||||||||||||||
Returns | |||||||||||||||||
|