Description | |||||||||||
Exports a solid from Creo Parametric, or a Creo Parametric solid from disk, into VRML format. This works in the same way as the Pro/BATCH module.
The exported file tree is the same as after a Creo Parametric Export VRML operation. ProExportVRML supports creation of multiple output files from either parts or assemblies. If you export an assembly, the function creates an output file for each member of the assembly and one for the assembly itself. Default file names are: asm1_a.wrl, asm2_a.wrl, ... asmN_a.wrl, where asm is the assembly name. If you export parts, ProExportVRML creates an output file for each part. Default names are part_p.wrl, where part is the part name. |
|||||||||||
Replacement in Object TOOLKIT: | pfcBaseSession::ExportDirectVRML | ||||||||||
Synopsis | |||||||||||
#include <ProUtil.h> | |||||||||||
ProError | ProExportVRML | ( | |||||||||
ProBoolean direct | |||||||||||
/* (In) | |||||||||||
PRO_B_TRUE if the VRML is to be extracted from a disk file containing a Creo Parametric model; PRO_B_FALSE if the VRML is to be extracted from a model now in session | |||||||||||
*/ | |||||||||||
ProMdl model | |||||||||||
/* (In) | |||||||||||
The model in session to be exported. Ignored if direct == PRO_B_TRUE. | |||||||||||
*/ | |||||||||||
ProPath input_file | |||||||||||
/* (In) | |||||||||||
The name of the Creo Parametric model file to be extracted. Ignored if direct == PRO_B_FALSE. | |||||||||||
*/ | |||||||||||
ProPath output_path | |||||||||||
/* (In) | |||||||||||
Output path for directory where VRML tree will be created. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|