NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::STLImporter Class Reference

Used to import an STL file into the work part. More...

Inheritance diagram for NXOpen::STLImporter:
NXOpen::Importer NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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.

Detailed Description

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.


Member Enumeration Documentation

Specifies the angular tolerance.


Created in NX5.0.0.

Enumerator:
AngularToleranceTypeCoarse 

Import with coarse angular tolerance.

AngularToleranceTypeMedium 

Import with medium angular tolerance.

AngularToleranceTypeFine 

Import with fine angular tolerance.

Specifies the STL file format.


Created in NX5.0.0.

Enumerator:
FileFormatTypeAscii 

STL file is in ASCII format.

FileFormatTypeBinary 

STL file is in binary format.

Specifies the STL file units.


Created in NX5.0.0.

Enumerator:
FileUnitsTypeMeters 

STL file is in units of meters.

FileUnitsTypeMillimeters 

STL file is in units of millimeters.

FileUnitsTypeInches 

STL file is in units of inches.


Member Function Documentation

Returns the angular tolerance.


Created in NX5.0.0.

License requirements : None

Returns the Display Information flag.

True if the Display Information flag is on.


Created in NX5.0.0.

License requirements : None

Returns the file format.


Created in NX5.0.0.

License requirements : None

Returns the file units.


Created in NX5.0.0.

License requirements : None

Returns the Hide Smooth Edges flag.

True if the Hide Smooth Edges flag is on.


Created in NX5.0.0.

License requirements : None

Sets the angular tolerance.


Created in NX5.0.0.

License requirements : None

Parameters:
angularToleranceangular 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

Parameters:
displayInformationdisplay information

Sets the file format.


Created in NX5.0.0.

License requirements : None

Parameters:
fileFormatfile format

Sets the file units.


Created in NX5.0.0.

License requirements : None

Parameters:
fileUnitsfile 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

Parameters:
hideSmoothEdgeshide smooth edges

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.