Exporting Using Coordinate System
The methods described in this section support the export of files with information about the faceted solid models (without datums and surfaces). The files are exported in reference to the coordinate-system feature in the model being exported.
Methods Introduced:
The method
pfcModel.CoordSysExportInstructions.GetCsysName returns the name of the the name of a coordinate system feature in the model being exported. It is recommended to use the coordinate system that places the part or assembly in its upper-right quadrant, so that all position and distance values of the exported assembly or part are positive. The method
pfcModel.CoordSysExportInstructions.SetCsysName allows you to set the coordinate system feature name.
|
|
You must pass the value of Quality as NULL, if you use Maximum Chord Height and Angle Control values. If Quality, Maximum Chord Height, and Angle Control are all NULL, then the Quality setting of 3 is used.
|
Use the methods
pfcModel.CoordSysExportInstructions.GetMaxChordHeight and
pfcModel.CoordSysExportInstructions.SetMaxChordHeight to work with the maximum chord height for the exported files. The default value is 0.1.
|
|
You must pass the value of Maximum Chord Height as NULL, if you specify the Quality value.
|
The methods
pfcModel.CoordSysExportInstructions.GetAngleControl and
pfcModel.CoordSysExportInstructions.SetAngleControl allow you to work with the angle control setting for the exported files. The default value is 0.1.
|
|
You must pass the value of Angle Control value as NULL, if you specify the Quality value.
|
The methods
pfcModel.CoordSysExportInstructions.GetSliceExportData and
pfcModel.CoordSysExportInstructions.SetSliceExportData get and set the
pfcModel.SliceExportData data object that specifies data for the slice export. The options in this object are described as follows:
|
|
You must pass the value of Step Size value as NULL, if you specify the Quality value.
|
The methods
pfcModel.CoordSysExportInstructions.GetFacetControlOptions and
pfcModel.CoordSysExportInstructions.SetFacetControlOptions control the facet export options using bit flags. You can set the bit flags using the
pfcModel.FacetControlFlag object. For more information on the bit flag values, please refer to the section
Exporting to Faceted Formats.
The function
pfcSelect.Selection.SetIntf3DCsys sets the reference coordinate system for the export. The input argument
ReferenceCsys is the reference coordinate system selection. Call this method without any argument to set default coordinate system. Reference coordinate system is not supported for CADDS and NEUTRAL file types.