| DEPRECATED: | Since Creo 3 | ||||||||||||||||
| SUPERSEDED BY: | ProIntfSliceFileWithOptionsMdlnameExport | ||||||||||||||||
| Description | |||||||||||||||||
| Note: This function is deprecated Use ProIntfSliceFileWithOptionsMdlnameExport instead. Exports 5 of the 7 "slice" formats (STL, Render, Inventor, CatiaFacets, Optegra Visualizer).
NOTE: On UNIX machines, file names are case sensitive. |
|||||||||||||||||
| Synopsis | |||||||||||||||||
| #include <ProUtil.h> | |||||||||||||||||
| ProError | ProIntfSliceFileWithOptionsExport | ( | |||||||||||||||
| ProMdl model | |||||||||||||||||
| /* (In) | |||||||||||||||||
| The pointer to the model to export. If NULL the current model will be used. | |||||||||||||||||
| */ | |||||||||||||||||
| ProFileName 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 | |||||||||||||||||
|
|||||||||||||||||