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. More... | |
bool | DisplayInformation () |
Returns the Display Information flag. More... | |
NXOpen::STLImporter::FileFormatType | FileFormat () |
Returns the file format. More... | |
NXOpen::STLImporter::FileUnitsType | FileUnits () |
Returns the file units. More... | |
bool | HideSmoothEdges () |
Returns the Hide Smooth Edges flag. More... | |
void | SetAngularTolerance (NXOpen::STLImporter::AngularToleranceType angularTolerance) |
Sets the angular tolerance. More... | |
void | SetDisplayInformation (bool displayInformation) |
Sets the Display Information flag. More... | |
void | SetFileFormat (NXOpen::STLImporter::FileFormatType fileFormat) |
Sets the file format. More... | |
void | SetFileUnits (NXOpen::STLImporter::FileUnitsType fileUnits) |
Sets the file units. More... | |
void | SetHideSmoothEdges (bool hideSmoothEdges) |
Sets the Hide Smooth Edges flag. More... | |
Public Member Functions inherited from NXOpen::Importer | |
NXString | FileName () |
Returns the name of the file containing the data to import. More... | |
void | SetFileName (const NXString &fileName) |
Sets the name of the file containing the data to import. More... | |
void | SetFileName (const char *fileName) |
Sets the name of the file containing the data to import. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
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 |