IgesCreator Class¶
-
class
NXOpen.
IgesCreator
¶ Bases:
NXOpen.DexBuilder
Represents a
NXOpen.IgesCreator
to be used when exporting the IGES Data This class is created usingNXOpen.DexManager
.NULL object will be returned from Commit(). The workpart should be present in the session before calling commit(). To create a new instance of this class, use
NXOpen.DexManager.CreateIgesCreator()
Default values.
Property Value BcurveTol 0.058 ExportDrawings 0 ExportFrom DisplayPart ExportModelData 0 FlattenAssembly 0 IdenticalPointResolution 0 Jama 0 MapCrossHatchTo SectionArea MapRevolvedFacesTo BSurfaces MapTabCylToBSurf 0 MaxLineThickness 0 MaxThreeDMdlSpace 0 ProcessHoldFlag 0 ReferenceType Absolute SysDefidenticalPointResolution 0 SysDefmaxThreeDMdlSpace 0 UseStartSectionFile 0 New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
Author | Returns or sets the author - name of the author |
BcurveTol | Returns or sets the bcurve tol - tolerance for creating b-spline curves |
Company | Returns or sets the company - company name |
Csys | Returns or sets the csys - reference coordinate system for exported data |
DrawingList | Returns or sets the drawing list - comma separated list of drawings |
ExportDrawings | Returns or sets the Export drawings to IGES - if set to ture drawings will be exported to IGES |
ExportFrom | Returns or sets the export from - this option will determine if data from display part or existing part is exported |
ExportModelData | Returns or sets the Export NX model data to IGES - if set to true model data will be exported to IGES |
ExportSelectionBlock | Returns the export selection block - the object selection will be done by this block. |
FileSaveFlag | Returns or sets the file save flag - set to false if doing file export |
FlattenAssembly | Returns or sets the flatten assembly - if set to true the assembly structure will not be retained |
IdenticalPointResolution | Returns or sets the identical point resolution - if not using system defined tolerance for identical points then specify new value |
InputFile | Returns or sets the input file - name of file which is being exported. |
Jama | Returns or sets the jama - if set to true the exported data will be Japanese Automotive compliant |
LayerMask | Returns or sets the layerMask - You can limit the data you export by only specifying the layers that contain the appropriate information. |
MapCrossHatchTo | Returns or sets the map cross hatch to section area or copious data |
MapRevolvedFacesTo | Returns or sets the Map revolved faces in NX to IGES b-surfaces/surface of revolution |
MapTabCylToBSurf | Returns or sets the map tabulated cylinder to b-spline surface |
MaxLineThickness | Returns or sets the max line thickness - maximum line thickness in resulting iges file |
MaxThreeDMdlSpace | Returns or sets the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value |
ObjectTypes | Returns the objectTypes - this is subcomponent being used to set object types filters. |
OutputFile | Returns or sets the output file - the name of iges file where output is being written |
ProcessHoldFlag | Returns or sets the process hold flag - set to true if user wants to wait until transaltion process gets completed |
ReceiverID | Returns or sets the receiver id |
ReferenceType | Returns or sets the reference type - reference coordinate system for export |
SettingsFile | Returns or sets the Settings File to read the default settings |
StartSectionFile | Returns or sets the start section file - name of the file to provide start section |
SysDefidenticalPointResolution | Returns or sets the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points |
SysDefmaxThreeDMdlSpace | Returns or sets the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used |
Tag | Returns the Tag for this object. |
UseStartSectionFile | Returns or sets the use start section file - set to true if want to specify text file for start section |
ViewList | Returns or sets the view list - comma separated list of views |
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. |
SaveSettings | The save settings - this will save the settings to a file sepcified |
SetDrawingArray | Sets the drawings - the list of drawings to translate |
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¶
IgesCreatorCrossHatchMapEnum Enumeration | Cross Hatch Map Option |
IgesCreatorCsysrefEnum Enumeration | Cysref Option |
IgesCreatorExportFromOption Enumeration | Export From Option |
IgesCreatorMapRevolvedFacesOption Enumeration | Map Option |
Property Detail¶
Author¶
-
IgesCreator.
Author
¶ Returns or sets the author - name of the author
-------------------------------------
Getter Method
Signature
Author()
Returns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Author(author)
Parameters: author (str) – New in version NX6.0.0.
License requirements: None.
BcurveTol¶
-
IgesCreator.
BcurveTol
¶ Returns or sets the bcurve tol - tolerance for creating b-spline curves
-------------------------------------
Getter Method
Signature
BcurveTol()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BcurveTol(bcurveTol)
Parameters: bcurveTol (float) – New in version NX6.0.0.
License requirements: None.
Company¶
-
IgesCreator.
Company
¶ Returns or sets the company - company name
-------------------------------------
Getter Method
Signature
Company()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Company(company)
Parameters: company (str) – New in version NX6.0.0.
License requirements: None.
Csys¶
-
IgesCreator.
Csys
¶ Returns or sets the csys - reference coordinate system for exported data
-------------------------------------
Getter Method
Signature
Csys()
Returns: Return type: NXOpen.CoordinateSystem
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Csys(csys)
Parameters: csys ( NXOpen.CoordinateSystem
) –New in version NX5.0.0.
License requirements: None.
DrawingList¶
-
IgesCreator.
DrawingList
¶ Returns or sets the drawing list - comma separated list of drawings
-------------------------------------
Getter Method
Signature
DrawingList()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DrawingList(drawingList)
Parameters: drawingList (str) – New in version NX6.0.0.
License requirements: None.
ExportDrawings¶
-
IgesCreator.
ExportDrawings
¶ Returns or sets the Export drawings to IGES - if set to ture drawings will be exported to IGES
-------------------------------------
Getter Method
Signature
ExportDrawings()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExportDrawings(drawings)
Parameters: drawings (bool) – New in version NX6.0.0.
License requirements: None.
ExportFrom¶
-
IgesCreator.
ExportFrom
¶ Returns or sets the export from - this option will determine if data from display part or existing part is exported
-------------------------------------
Getter Method
Signature
ExportFrom()
Returns: Return type: NXOpen.IgesCreatorExportFromOption
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExportFrom(exportFrom)
Parameters: exportFrom ( NXOpen.IgesCreatorExportFromOption
) –New in version NX6.0.0.
License requirements: None.
ExportModelData¶
-
IgesCreator.
ExportModelData
¶ Returns or sets the Export NX model data to IGES - if set to true model data will be exported to IGES
-------------------------------------
Getter Method
Signature
ExportModelData()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExportModelData(modelData)
Parameters: modelData (bool) – New in version NX6.0.0.
License requirements: None.
ExportSelectionBlock¶
-
IgesCreator.
ExportSelectionBlock
¶ Returns the export selection block - the object selection will be done by this block.
-------------------------------------
Getter Method
Signature
ExportSelectionBlock()
Returns: Return type: NXOpen.ObjectSelector
New in version NX6.0.0.
License requirements: None.
FileSaveFlag¶
-
IgesCreator.
FileSaveFlag
¶ Returns or sets the file save flag - set to false if doing file export
-------------------------------------
Getter Method
Signature
FileSaveFlag()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FileSaveFlag(doingFileSave)
Parameters: doingFileSave (bool) – New in version NX6.0.0.
License requirements: None.
FlattenAssembly¶
-
IgesCreator.
FlattenAssembly
¶ Returns or sets the flatten assembly - if set to true the assembly structure will not be retained
-------------------------------------
Getter Method
Signature
FlattenAssembly()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FlattenAssembly(flattenAssembly)
Parameters: flattenAssembly (bool) – New in version NX6.0.0.
License requirements: None.
IdenticalPointResolution¶
-
IgesCreator.
IdenticalPointResolution
¶ Returns or sets the identical point resolution - if not using system defined tolerance for identical points then specify new value
-------------------------------------
Getter Method
Signature
IdenticalPointResolution()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IdenticalPointResolution(identicalPointResolution)
Parameters: identicalPointResolution (float) – New in version NX6.0.0.
License requirements: None.
InputFile¶
-
IgesCreator.
InputFile
¶ Returns or sets the input file - name of file which is being exported.
-------------------------------------
Getter Method
Signature
InputFile()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputFile(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
Jama¶
-
IgesCreator.
Jama
¶ Returns or sets the jama - if set to true the exported data will be Japanese Automotive compliant
-------------------------------------
Getter Method
Signature
Jama()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Jama(jama)
Parameters: jama (bool) – New in version NX6.0.0.
License requirements: None.
LayerMask¶
-
IgesCreator.
LayerMask
¶ Returns or sets the layerMask - You can limit the data you export by only specifying the layers that contain the appropriate information.
You can enter layer numbers or layers ranges separated by commas. For example, 1, 5, 88-109,190-199, 201, 206-210 is a legal specification. The default setting for Layers to Export is 1-256.
-------------------------------------
Getter Method
Signature
LayerMask()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LayerMask(layerMask)
Parameters: layerMask (str) – New in version NX6.0.0.
License requirements: None.
MapCrossHatchTo¶
-
IgesCreator.
MapCrossHatchTo
¶ Returns or sets the map cross hatch to section area or copious data
-------------------------------------
Getter Method
Signature
MapCrossHatchTo()
Returns: Return type: NXOpen.IgesCreatorCrossHatchMapEnum
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MapCrossHatchTo(mapCrossHatchTo)
Parameters: mapCrossHatchTo ( NXOpen.IgesCreatorCrossHatchMapEnum
) –New in version NX6.0.0.
License requirements: None.
MapRevolvedFacesTo¶
-
IgesCreator.
MapRevolvedFacesTo
¶ Returns or sets the Map revolved faces in NX to IGES b-surfaces/surface of revolution
-------------------------------------
Getter Method
Signature
MapRevolvedFacesTo()
Returns: Return type: NXOpen.IgesCreatorMapRevolvedFacesOption
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MapRevolvedFacesTo(revolvedFacesTo)
Parameters: revolvedFacesTo ( NXOpen.IgesCreatorMapRevolvedFacesOption
) –New in version NX6.0.0.
License requirements: None.
MapTabCylToBSurf¶
-
IgesCreator.
MapTabCylToBSurf
¶ Returns or sets the map tabulated cylinder to b-spline surface
-------------------------------------
Getter Method
Signature
MapTabCylToBSurf()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MapTabCylToBSurf(mapTabCylToBSurf)
Parameters: mapTabCylToBSurf (bool) – New in version NX6.0.0.
License requirements: None.
MaxLineThickness¶
-
IgesCreator.
MaxLineThickness
¶ Returns or sets the max line thickness - maximum line thickness in resulting iges file
-------------------------------------
Getter Method
Signature
MaxLineThickness()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaxLineThickness(maxLineThickness)
Parameters: maxLineThickness (float) – New in version NX6.0.0.
License requirements: None.
MaxThreeDMdlSpace¶
-
IgesCreator.
MaxThreeDMdlSpace
¶ Returns or sets the maxThree dmdl space - if not using system defined maximum 3D model space then specifiy the new value
-------------------------------------
Getter Method
Signature
MaxThreeDMdlSpace()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaxThreeDMdlSpace(maxThreeDMdlSpace)
Parameters: maxThreeDMdlSpace (float) – New in version NX6.0.0.
License requirements: None.
ObjectTypes¶
-
IgesCreator.
ObjectTypes
¶ Returns the objectTypes - this is subcomponent being used to set object types filters.
This will be used to filter objects based on the types
-------------------------------------
Getter Method
Signature
ObjectTypes()
Returns: Return type: NXOpen.ObjectTypeSelector
New in version NX6.0.0.
License requirements: None.
OutputFile¶
-
IgesCreator.
OutputFile
¶ Returns or sets the output file - the name of iges file where output is being written
-------------------------------------
Getter Method
Signature
OutputFile()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputFile(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
ReceiverID¶
-
IgesCreator.
ReceiverID
¶ Returns or sets the receiver id
-------------------------------------
Getter Method
Signature
ReceiverID()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReceiverID(receiverID)
Parameters: receiverID (str) – New in version NX6.0.0.
License requirements: None.
ReferenceType¶
-
IgesCreator.
ReferenceType
¶ Returns or sets the reference type - reference coordinate system for export
-------------------------------------
Getter Method
Signature
ReferenceType()
Returns: Return type: NXOpen.IgesCreatorCsysrefEnum
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReferenceType(referenceType)
Parameters: referenceType ( NXOpen.IgesCreatorCsysrefEnum
) –New in version NX6.0.0.
License requirements: None.
SettingsFile¶
-
IgesCreator.
SettingsFile
¶ Returns or sets the Settings File to read the default settings
-------------------------------------
Getter Method
Signature
SettingsFile()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SettingsFile(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
StartSectionFile¶
-
IgesCreator.
StartSectionFile
¶ Returns or sets the start section file - name of the file to provide start section
-------------------------------------
Getter Method
Signature
StartSectionFile()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StartSectionFile(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
SysDefidenticalPointResolution¶
-
IgesCreator.
SysDefidenticalPointResolution
¶ Returns or sets the sys defidentical point resolution - if set to true then system defined tolerance will be used to find identical points
-------------------------------------
Getter Method
Signature
SysDefidenticalPointResolution()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SysDefidenticalPointResolution(sysDefidenticalPointResolution)
Parameters: sysDefidenticalPointResolution (bool) – New in version NX6.0.0.
License requirements: None.
SysDefmaxThreeDMdlSpace¶
-
IgesCreator.
SysDefmaxThreeDMdlSpace
¶ Returns or sets the sys defmaxThreeDmdl space - if set to true then system defined maximum 3D model space will be used
-------------------------------------
Getter Method
Signature
SysDefmaxThreeDMdlSpace()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SysDefmaxThreeDMdlSpace(sysDefmaxThreeDMdlSpace)
Parameters: sysDefmaxThreeDMdlSpace (bool) – New in version NX6.0.0.
License requirements: None.
UseStartSectionFile¶
-
IgesCreator.
UseStartSectionFile
¶ Returns or sets the use start section file - set to true if want to specify text file for start section
-------------------------------------
Getter Method
Signature
UseStartSectionFile()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseStartSectionFile(useStartSectionFile)
Parameters: useStartSectionFile (bool) – New in version NX6.0.0.
License requirements: None.
ViewList¶
-
IgesCreator.
ViewList
¶ Returns or sets the view list - comma separated list of views
-------------------------------------
Getter Method
Signature
ViewList()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ViewList(viewList)
Parameters: viewList (str) – New in version NX6.0.0.
License requirements: None.
Method Detail¶
SaveSettings¶
-
IgesCreator.
SaveSettings
¶ The save settings - this will save the settings to a file sepcified
Signature
SaveSettings(filename)
Parameters: filename (str) – New in version NX6.0.0.
License requirements: None.
SetDrawingArray¶
-
IgesCreator.
SetDrawingArray
¶ Sets the drawings - the list of drawings to translate
Signature
SetDrawingArray(objects)
Parameters: objects (list of NXOpen.TaggedObject
) – items in listNew in version NX6.0.0.
License requirements: None.
Validate¶
-
IgesCreator.
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.