|
NX Open C++ Reference Guide
|
Used to import an STL file into the work part. More...
Public Types | |
| enum | AngularToleranceType { AngularToleranceTypeCoarse, AngularToleranceTypeMedium, AngularToleranceTypeFine } |
| Specifies the angular tolerance. More... | |
| enum | FileFormatType { FileFormatTypeAscii, FileFormatTypeBinary } |
| Specifies the STL file format. More... | |
| enum | FileUnitsType { FileUnitsTypeMeters, FileUnitsTypeMillimeters, FileUnitsTypeInches } |
| Specifies the STL file units. More... | |
Public Member Functions | |
| NXOpen::STLImporter::AngularToleranceType | AngularTolerance () |
| Returns the angular tolerance. | |
| bool | DisplayInformation () |
| Returns the Display Information flag. | |
| NXOpen::STLImporter::FileFormatType | FileFormat () |
| Returns the file format. | |
| NXOpen::STLImporter::FileUnitsType | FileUnits () |
| Returns the file units. | |
| bool | HideSmoothEdges () |
| Returns the Hide Smooth Edges flag. | |
| void | SetAngularTolerance (NXOpen::STLImporter::AngularToleranceType angularTolerance) |
| Sets the angular tolerance. | |
| void | SetDisplayInformation (bool displayInformation) |
| Sets the Display Information flag. | |
| void | SetFileFormat (NXOpen::STLImporter::FileFormatType fileFormat) |
| Sets the file format. | |
| void | SetFileUnits (NXOpen::STLImporter::FileUnitsType fileUnits) |
| Sets the file units. | |
| void | SetHideSmoothEdges (bool hideSmoothEdges) |
| Sets the Hide Smooth Edges flag. | |
Public Member Functions inherited from NXOpen::Importer | |
| NXString | FileName () |
| Returns the name of the file containing the data to import. | |
| void | SetFileName (const NXString &fileName) |
| Sets the name of the file containing the data to import. | |
| void | SetFileName (const char *fileName) |
| Sets the name of the file containing the data to import. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Used to import an STL file into the work part.
To obtain an instance of this class use ImportManager::CreateStlImporter .
Created in NX5.0.0.
| NXOpen::STLImporter::AngularToleranceType NXOpen::STLImporter::AngularTolerance | ( | ) |
Returns the angular tolerance.
Created in NX5.0.0.
License requirements : None
| bool NXOpen::STLImporter::DisplayInformation | ( | ) |
Returns the Display Information flag.
True if the Display Information flag is on.
Created in NX5.0.0.
License requirements : None
| NXOpen::STLImporter::FileFormatType NXOpen::STLImporter::FileFormat | ( | ) |
Returns the file format.
Created in NX5.0.0.
License requirements : None
| NXOpen::STLImporter::FileUnitsType NXOpen::STLImporter::FileUnits | ( | ) |
Returns the file units.
Created in NX5.0.0.
License requirements : None
| bool NXOpen::STLImporter::HideSmoothEdges | ( | ) |
Returns the Hide Smooth Edges flag.
True if the Hide Smooth Edges flag is on.
Created in NX5.0.0.
License requirements : None
| void NXOpen::STLImporter::SetAngularTolerance | ( | NXOpen::STLImporter::AngularToleranceType | angularTolerance | ) |
Sets the angular tolerance.
Created in NX5.0.0.
License requirements : None
| angularTolerance | angular tolerance |
| void NXOpen::STLImporter::SetDisplayInformation | ( | bool | displayInformation | ) |
Sets the Display Information flag.
True if the Display Information flag is on.
Created in NX5.0.0.
License requirements : None
| displayInformation | display information |
| void NXOpen::STLImporter::SetFileFormat | ( | NXOpen::STLImporter::FileFormatType | fileFormat | ) |
Sets the file format.
Created in NX5.0.0.
License requirements : None
| fileFormat | file format |
| void NXOpen::STLImporter::SetFileUnits | ( | NXOpen::STLImporter::FileUnitsType | fileUnits | ) |
Sets the file units.
Created in NX5.0.0.
License requirements : None
| fileUnits | file units |
| void NXOpen::STLImporter::SetHideSmoothEdges | ( | bool | hideSmoothEdges | ) |
Sets the Hide Smooth Edges flag.
True if the Hide Smooth Edges flag is on.
Created in NX5.0.0.
License requirements : None
| hideSmoothEdges | hide smooth edges |