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 and Properties Introduced:
The property
pfcCoordSysExportInstructions.CsysName returns the name of 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 property
pfcCoordSysExportInstructions.Quality can be used instead of
pfcCoordSysExportInstructions.MaxChordHeight() and
pfcCoordSysExportInstructions.AngleControl. 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 property
pfcCoordSysExportInstructions.MaxChordHeight 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.
|
Use the property
pfcCoordSysExportInstructions.AngleControl 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
pfcCoordSysExportInstructions.GetSliceExportData() and
pfcCoordSysExportInstructions.SetSliceExportData() get and set the
pfcSliceExportData data object that specifies data for the slice export. The options in this object are described as follows:
• CompIds—Array 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 property
pfcSliceExportData.CompIds to work with the component IDs.
The property
pfcCoordSysExportInstructions.StepSize controls 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 property
pfcCoordSysExportInstructions.FacetControlOptions controls the facet export options using bit flags. You can set the bit flags using the
pfcFacetControlFlag object. For more information on the bit flag values, please refer to the section
Exporting to Faceted Formats.
The function
pfcSelection.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.