VRMLImporter Class

class NXOpen.VRMLImporter

Bases: NXOpen.Importer

Used to import a VRML file into the work part.

To obtain an instance of this class use ImportManager.CreateVrmlImporter().

New in version NX5.0.0.

Properties

Property Description
AllLevelsOfDetail Returns or sets the All Levels of Detail flag.
AngularTolerance Returns or sets the angular tolerance.
FileName Returns or sets the name of the file containing the data to import.
FileUnits Returns or sets the file units.
GenerateOneModel Returns or sets the Generate One Model flag.
HideSmoothEdges Returns or sets the Hide Smooth Edges flag.
MoreSummaryDetails Returns or sets the More Summary Details flag.
SuppressWarningMessages Returns or sets the Suppress Warning Messages flag.
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

VRMLImporterAngularToleranceType Enumeration Specifies the angular tolerance.
VRMLImporterFileUnitsType Enumeration Specifies the VRML file units.

Property Detail

AllLevelsOfDetail

VRMLImporter.AllLevelsOfDetail

Returns or sets the All Levels of Detail flag.

True if the All Levels of Detail flag is on.

-------------------------------------

Getter Method

Signature AllLevelsOfDetail

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AllLevelsOfDetail

Parameters:allLevelsOfDetail (bool) –

New in version NX5.0.0.

License requirements: None.

AngularTolerance

VRMLImporter.AngularTolerance

Returns or sets the angular tolerance.

-------------------------------------

Getter Method

Signature AngularTolerance

Returns:
Return type:NXOpen.VRMLImporterAngularToleranceType

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AngularTolerance

Parameters:angularTolerance (NXOpen.VRMLImporterAngularToleranceType) –

New in version NX5.0.0.

License requirements: None.

FileUnits

VRMLImporter.FileUnits

Returns or sets the file units.

-------------------------------------

Getter Method

Signature FileUnits

Returns:
Return type:NXOpen.VRMLImporterFileUnitsType

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FileUnits

Parameters:fileUnits (NXOpen.VRMLImporterFileUnitsType) –

New in version NX5.0.0.

License requirements: None.

GenerateOneModel

VRMLImporter.GenerateOneModel

Returns or sets the Generate One Model flag.

True if the Generate One Model flag is on.

-------------------------------------

Getter Method

Signature GenerateOneModel

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature GenerateOneModel

Parameters:generateOneModel (bool) –

New in version NX5.0.0.

License requirements: None.

HideSmoothEdges

VRMLImporter.HideSmoothEdges

Returns or sets the Hide Smooth Edges flag.

True if the Hide Smooth Edges flag is on.

-------------------------------------

Getter Method

Signature HideSmoothEdges

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HideSmoothEdges

Parameters:hideSmoothEdges (bool) –

New in version NX5.0.0.

License requirements: None.

MoreSummaryDetails

VRMLImporter.MoreSummaryDetails

Returns or sets the More Summary Details flag.

True if the More Summary Details flag is on.

-------------------------------------

Getter Method

Signature MoreSummaryDetails

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MoreSummaryDetails

Parameters:moreSummaryDetails (bool) –

New in version NX5.0.0.

License requirements: None.

SuppressWarningMessages

VRMLImporter.SuppressWarningMessages

Returns or sets the Suppress Warning Messages flag.

True if the Suppress Warning Messages flag is on.

-------------------------------------

Getter Method

Signature SuppressWarningMessages

Returns:
Return type:bool

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SuppressWarningMessages

Parameters:suppressWarningMessages (bool) –

New in version NX5.0.0.

License requirements: None.

Method Detail

Validate

VRMLImporter.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.