User's guide > Interface > Exporting Using Coordinate System
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.
The methods pfcModel.CoordSysExportInstructions.GetQuality and pfcModel.CoordSysExportInstructions.SetQuality can be used instead of pfcModel.CoordSysExportInstructions.GetMaxChordHeight and pfcModel.CoordSysExportInstructions.GetMaxChordHeight and pfcModel.CoordSysExportInstructions.GetAngleControl and pfcModel.CoordSysExportInstructions.SetAngleControl. You can set the value between 1 and 10. The higher the value you pass, the lower is the Maximum Chord Height setting and higher is the Angle Control setting the method uses. The default Quality value is 1.0.
* 
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:
CompIds—Specifies the sequence of integers that identify the components that form the path from the root assembly down to the component part or assembly being referred to. Use the methods pfcModel.SliceExportData.GetCompIds and pfcModel.SliceExportData.SetCompIds to work with the component IDs.
The methods pfcModel.CoordSysExportInstructions.GetStepSize and pfcModel.CoordSysExportInstructions.SetStepSize control the step size for the exported files. The default value is 0.0.
* 
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.
Was this helpful?