NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Properties | List of all members
NXOpen.WavefrontObjImporter Class Reference

Represents a NXOpen.WavefrontObjImporter to be used when importing OBJ Data This class is created using NXOpen.DexManager . More...

Inheritance diagram for NXOpen.WavefrontObjImporter:
NXOpen.DexBuilder NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  GroupsEnum { NodeNames, Assembly, Off }
 how to interpret the OBJ groups More...
 
enum  MessageEnum {
  None, Informational, Warning, Error,
  Debug, All
}
 Messages output when opening the file. More...
 
enum  UnitsEnum {
  Millimeters, Inches, Meters, Centimeters,
  Feet, Microns
}
 Units of the the OBJ file. More...
 

Properties

unsafe bool Cleanup [get, set]
 Returns or sets the option to clean up all mesh defects on import More...
 
unsafe bool FileOpenFlag [get, set]
 Returns or sets the file open flag - set this to false if doing file import More...
 
unsafe
NXOpen.WavefrontObjImporter.GroupsEnum 
ImportGroups [get, set]
 Returns or sets the method of interpreting OBJ groups More...
 
unsafe
NXOpen.WavefrontObjImporter.UnitsEnum 
ImportUnits [get, set]
 Returns or sets the units to convert from when loading Obj files More...
 
unsafe string InputFile [get, set]
 Returns or sets the input file - name of a file which is being imported More...
 
unsafe
NXOpen.WavefrontObjImporter.MessageEnum 
Messages [get, set]
 Returns or sets the message level for syslog messages when loading Obj files More...
 
unsafe bool ReverseNames [get, set]
 Returns or sets the ReverseNames - if set to true then group names will be processed right-to-left More...
 
unsafe bool ShowInformationWindowFlag [get, set]
 Returns or sets the information flag - set this to true to display info in window More...
 
- Properties inherited from NXOpen.DexBuilder
unsafe bool ProcessHoldFlag [get, set]
 Returns or sets the process hold flag - set to true if user wants to wait until transaltion process gets completed More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.WavefrontObjImporter to be used when importing OBJ Data This class is created using NXOpen.DexManager .

NULL object will be returned from Commit()

To create a new instance of this class, use NXOpen.DexManager.CreateWavefrontObjImporter

Default values.

Property Value

ImportGroups

NodeNames

ImportUnits

Millimeters

Messages

None

ReverseNames

0

ShowInformationWindowFlag

0

Created in NX11.0.0

Member Enumeration Documentation

how to interpret the OBJ groups

Enumerator
NodeNames 
Assembly 
Off 

Messages output when opening the file.

Enumerator
None 
Informational 
Warning 
Error 
Debug 
All 

Units of the the OBJ file.

Enumerator
Millimeters 
Inches 
Meters 
Centimeters 
Feet 
Microns 

Property Documentation

unsafe bool NXOpen.WavefrontObjImporter.Cleanup
getset

Returns or sets the option to clean up all mesh defects on import

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.WavefrontObjImporter.FileOpenFlag
getset

Returns or sets the file open flag - set this to false if doing file import

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.WavefrontObjImporter.GroupsEnum NXOpen.WavefrontObjImporter.ImportGroups
getset

Returns or sets the method of interpreting OBJ groups

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.WavefrontObjImporter.UnitsEnum NXOpen.WavefrontObjImporter.ImportUnits
getset

Returns or sets the units to convert from when loading Obj files

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.WavefrontObjImporter.InputFile
getset

Returns or sets the input file - name of a file which is being imported

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.WavefrontObjImporter.MessageEnum NXOpen.WavefrontObjImporter.Messages
getset

Returns or sets the message level for syslog messages when loading Obj files

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.WavefrontObjImporter.ReverseNames
getset

Returns or sets the ReverseNames - if set to true then group names will be processed right-to-left

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.WavefrontObjImporter.ShowInformationWindowFlag
getset

Returns or sets the information flag - set this to true to display info in window

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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