Hide menu
cadex::NX_Reader Class Reference

Reads Siemens NX files. More...

Inheritance diagram for cadex::NX_Reader:
cadex::Base_Reader

Public Member Functions

 NX_Reader ()
 Creates an object. More...
 
const NX_ReaderParametersParameters () const
 Return reader parameters.
 
NX_ReaderParametersParameters ()
 Sets reader parameters.
 
- Public Member Functions inherited from cadex::Base_Reader
 ~Base_Reader ()
 Destructor.
 
bool ReadFile (const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool ReadFile (std::istream &theStream)
 Reads the file into memory. More...
 
bool ReadFile (const std::shared_ptr< Base_IStreamProviderFactory > &theFactory, const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool Transfer (ModelData_Model &theModel)
 Converts read file into a resulting model. More...
 
bool Transfer (TopoDS_Shape &theShape)
 Converts read file into a resulting shape. More...
 
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 
Base_ReaderStatistics Statistics () const
 Returns an object containing information about import process.
 
internal::Base_Reader_Private * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Reader
 Base_Reader (internal::Base_Reader_Private *theImpl)
 Constructor.
 

Detailed Description

Reads Siemens NX files.

Refer to NX Converter.

Warning
ReadFile() overload accepting a stream cannot be used. Instead, use the overload accepting a file name or the one accepting a stream provider factory.
Note
ReadFile() throws:

Constructor & Destructor Documentation

◆ NX_Reader()

cadex::NX_Reader::NX_Reader ( )

Creates an object.

Empty constructor.

Exceptions
LicenseManager_LicenseErrorif no NX license was activated.