NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::VRMLImporter Class Reference

Used to import a VRML file into the work part. More...

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

Public Types

enum  AngularToleranceType { AngularToleranceTypeCoarse, AngularToleranceTypeMedium, AngularToleranceTypeFine }
 Specifies the angular tolerance. More...
 
enum  FileUnitsType { FileUnitsTypeMeters, FileUnitsTypeMillimeters, FileUnitsTypeInches }
 Specifies the VRML file units. More...
 

Public Member Functions

bool AllLevelsOfDetail ()
 Returns the All Levels of Detail flag. More...
 
NXOpen::VRMLImporter::AngularToleranceType AngularTolerance ()
 Returns the angular tolerance. More...
 
NXOpen::VRMLImporter::FileUnitsType FileUnits ()
 Returns the file units. More...
 
bool GenerateOneModel ()
 Returns the Generate One Model flag. More...
 
bool HideSmoothEdges ()
 Returns the Hide Smooth Edges flag. More...
 
bool MoreSummaryDetails ()
 Returns the More Summary Details flag. More...
 
void SetAllLevelsOfDetail (bool allLevelsOfDetail)
 Sets the All Levels of Detail flag. More...
 
void SetAngularTolerance (NXOpen::VRMLImporter::AngularToleranceType angularTolerance)
 Sets the angular tolerance. More...
 
void SetFileUnits (NXOpen::VRMLImporter::FileUnitsType fileUnits)
 Sets the file units. More...
 
void SetGenerateOneModel (bool generateOneModel)
 Sets the Generate One Model flag. More...
 
void SetHideSmoothEdges (bool hideSmoothEdges)
 Sets the Hide Smooth Edges flag. More...
 
void SetMoreSummaryDetails (bool moreSummaryDetails)
 Sets the More Summary Details flag. More...
 
void SetSuppressWarningMessages (bool suppressWarningMessages)
 Sets the Suppress Warning Messages flag. More...
 
bool SuppressWarningMessages ()
 Returns the Suppress Warning Messages 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Used to import a VRML file into the work part.


To obtain an instance of this class use ImportManager::CreateVrmlImporter .

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 VRML file units.


Created in NX5.0.0.

Enumerator
FileUnitsTypeMeters 

VRML file is in units of meters.

FileUnitsTypeMillimeters 

VRML file is in units of millimeters.

FileUnitsTypeInches 

VRML file is in units of inches.

Member Function Documentation

bool NXOpen::VRMLImporter::AllLevelsOfDetail ( )

Returns the All Levels of Detail flag.

True if the All Levels of Detail flag is on.


Created in NX5.0.0.

License requirements : None

NXOpen::VRMLImporter::AngularToleranceType NXOpen::VRMLImporter::AngularTolerance ( )

Returns the angular tolerance.


Created in NX5.0.0.

License requirements : None

NXOpen::VRMLImporter::FileUnitsType NXOpen::VRMLImporter::FileUnits ( )

Returns the file units.


Created in NX5.0.0.

License requirements : None

bool NXOpen::VRMLImporter::GenerateOneModel ( )

Returns the Generate One Model flag.

True if the Generate One Model flag is on.


Created in NX5.0.0.

License requirements : None

bool NXOpen::VRMLImporter::HideSmoothEdges ( )

Returns the Hide Smooth Edges flag.

True if the Hide Smooth Edges flag is on.


Created in NX5.0.0.

License requirements : None

bool NXOpen::VRMLImporter::MoreSummaryDetails ( )

Returns the More Summary Details flag.

True if the More Summary Details flag is on.


Created in NX5.0.0.

License requirements : None

void NXOpen::VRMLImporter::SetAllLevelsOfDetail ( bool  allLevelsOfDetail)

Sets the All Levels of Detail flag.

True if the All Levels of Detail flag is on.


Created in NX5.0.0.

License requirements : None

Parameters
allLevelsOfDetailall levels of detail
void NXOpen::VRMLImporter::SetAngularTolerance ( NXOpen::VRMLImporter::AngularToleranceType  angularTolerance)

Sets the angular tolerance.


Created in NX5.0.0.

License requirements : None

Parameters
angularToleranceangular tolerance
void NXOpen::VRMLImporter::SetFileUnits ( NXOpen::VRMLImporter::FileUnitsType  fileUnits)

Sets the file units.


Created in NX5.0.0.

License requirements : None

Parameters
fileUnitsfile units
void NXOpen::VRMLImporter::SetGenerateOneModel ( bool  generateOneModel)

Sets the Generate One Model flag.

True if the Generate One Model flag is on.


Created in NX5.0.0.

License requirements : None

Parameters
generateOneModelgenerate one model
void NXOpen::VRMLImporter::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
void NXOpen::VRMLImporter::SetMoreSummaryDetails ( bool  moreSummaryDetails)

Sets the More Summary Details flag.

True if the More Summary Details flag is on.


Created in NX5.0.0.

License requirements : None

Parameters
moreSummaryDetailsmore summary details
void NXOpen::VRMLImporter::SetSuppressWarningMessages ( bool  suppressWarningMessages)

Sets the Suppress Warning Messages flag.

True if the Suppress Warning Messages flag is on.


Created in NX5.0.0.

License requirements : None

Parameters
suppressWarningMessagessuppress warning messages
bool NXOpen::VRMLImporter::SuppressWarningMessages ( )

Returns the Suppress Warning Messages flag.

True if the Suppress Warning Messages flag is on.


Created in NX5.0.0.

License requirements : None


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