IgesCreator Class¶
-
class
NXOpen.IgesCreator¶ Bases:
NXOpen.DexBuilderRepresents a
NXOpen.IgesCreatorto 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
AuthorReturns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AuthorParameters: 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
BcurveTolReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BcurveTolParameters: bcurveTol (float) – New in version NX6.0.0.
License requirements: None.
Company¶
-
IgesCreator.Company¶ Returns or sets the company - company name
-------------------------------------Getter Method
Signature
CompanyReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CompanyParameters: 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
CsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CsysParameters: 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
DrawingListReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrawingListParameters: 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
ExportDrawingsReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExportDrawingsParameters: 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
ExportFromReturns: Return type: NXOpen.IgesCreatorExportFromOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExportFromParameters: 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
ExportModelDataReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExportModelDataParameters: 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
ExportSelectionBlockReturns: Return type: NXOpen.ObjectSelectorNew 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
FileSaveFlagReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FileSaveFlagParameters: 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
FlattenAssemblyReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FlattenAssemblyParameters: 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
IdenticalPointResolutionReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IdenticalPointResolutionParameters: 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
InputFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InputFileParameters: 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
JamaReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
JamaParameters: 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
LayerMaskReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerMaskParameters: 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
MapCrossHatchToReturns: Return type: NXOpen.IgesCreatorCrossHatchMapEnumNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MapCrossHatchToParameters: 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
MapRevolvedFacesToReturns: Return type: NXOpen.IgesCreatorMapRevolvedFacesOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MapRevolvedFacesToParameters: 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
MapTabCylToBSurfReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MapTabCylToBSurfParameters: 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
MaxLineThicknessReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaxLineThicknessParameters: 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
MaxThreeDMdlSpaceReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaxThreeDMdlSpaceParameters: 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
ObjectTypesReturns: Return type: NXOpen.ObjectTypeSelectorNew 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
OutputFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OutputFileParameters: filename (str) – New in version NX6.0.0.
License requirements: None.
ReceiverID¶
-
IgesCreator.ReceiverID¶ Returns or sets the receiver id
-------------------------------------Getter Method
Signature
ReceiverIDReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReceiverIDParameters: 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
ReferenceTypeReturns: Return type: NXOpen.IgesCreatorCsysrefEnumNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceTypeParameters: 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
SettingsFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SettingsFileParameters: 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
StartSectionFileReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StartSectionFileParameters: 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
SysDefidenticalPointResolutionReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SysDefidenticalPointResolutionParameters: 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
SysDefmaxThreeDMdlSpaceReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SysDefmaxThreeDMdlSpaceParameters: 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
UseStartSectionFileReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseStartSectionFileParameters: 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
ViewListReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ViewListParameters: 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.