JtCreator Class¶
-
class
NXOpen.
JtCreator
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.JtCreator
to be used when exporting the JT Data This class is created usingNXOpen.PvtransManager
.NULL object will be returned from Commit()
To create a new instance of this class, use
NXOpen.PvtransManager.CreateJtCreator()
New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
AdvancedMaterial | Returns or sets the advancedMaterial *- Specifies whether advanced material and light information to be written in JT |
AppendRefset | Returns or sets the appendRefset * - Specifies whether name of the reference set should be appended to the name of component node in JT product structure |
ApplyPmi | Returns or sets the applytoPMI * - Includes only PMI data in the reference set being translated for translation |
AsmStructure | Returns or sets the m_asmStructure * - WriteWhichFiles = JTASSEMBLY |
AutolowLod | Returns or sets the autolowLOD *- Specifies wheather autoLOW LOD generation is ON or OFF |
ChordalOption | Returns or sets the chordal option - Specifies wheather the chordal value should be RELATIVE or ABSOLUTE |
ConfigFile | Returns or sets the ConfigFile file - the name of configuration file which used in translation |
IncludePmi | Returns or sets the includePMI * - Specifies which product manufacturing information data is written to JT file |
JtParts | Returns or sets the m_jtParts * - WriteWhichFiles = JTPARTS |
JtWrite | Returns or sets the jtWrite * - Allows to choose between writing Assembly and PArt data to the JT file |
JtfileStructure | Returns or sets the jtFileStructure * - Determines the organization of the JT files on the disk |
LightTextureMaterial | Returns or sets the m_lightTextureMaterial * - lightTextureMaterial |
LighweightLabel | Returns or sets the m_lighweightLabel - the lightweight label which needs to be write in to jtfile |
LodList | Returns the lodList - the list containing the lod items |
MergeSheets | Returns or sets the mergeSheets * - Specifies whether all sheets are written to a single node or separate node in JT file |
MergeSolids | Returns or sets the mergeSolids * - Specifies whether all solids are written to a single node or separate node in JT file |
OutputJtFile | Returns or sets the output file - the name of jt file where output is being written |
PreciseGeom | Returns or sets the preciseGeom * - Specifies whether precise model geometry should be Enabled or Disabled in translated |
SmartLod | Returns or sets the smartLOD * - Specifies wheather smart LOD generation is ON or OFF |
Tag | Returns the Tag for this object. |
TessOption | Returns or sets the m_tessOption * - Specifies the type for Level of Details, whether Defined Level or Use NX Resolution |
UseRefset | Returns or sets the useRefset * - Specifies from which reference the data should be written to JT file |
WireFrame | Returns or sets the wireFrame * - Controls translation of wireframe and point entities to JT file |
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. |
LoadConfigSettings | Loads configuration file settings onto builder |
NewLevel | Creates a NXOpen.ListCreator object. |
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¶
JtCreatorAdvancedMaterials Enumeration | Texture quality |
JtCreatorChordalValue Enumeration | Chordal Option |
JtCreatorFileStructure Enumeration | JT File Structue |
JtCreatorFileWrite Enumeration | JT File Write |
JtCreatorPmiOption Enumeration | Include PMI options |
JtCreatorRefsetOption Enumeration | refset Options |
JtCreatorTessellationOption Enumeration | Tessellation Option |
Property Detail¶
AdvancedMaterial¶
-
JtCreator.
AdvancedMaterial
¶ Returns or sets the advancedMaterial *- Specifies whether advanced material and light information to be written in JT
-------------------------------------
Getter Method
Signature
AdvancedMaterial
Returns: Return type: NXOpen.JtCreatorAdvancedMaterials
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AdvancedMaterial
Parameters: advancedMaterial ( NXOpen.JtCreatorAdvancedMaterials
) –New in version NX8.5.0.
License requirements: None.
AppendRefset¶
-
JtCreator.
AppendRefset
¶ Returns or sets the appendRefset * - Specifies whether name of the reference set should be appended to the name of component node in JT product structure
-------------------------------------
Getter Method
Signature
AppendRefset
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AppendRefset
Parameters: appendRefset (bool) – New in version NX8.5.0.
License requirements: None.
ApplyPmi¶
-
JtCreator.
ApplyPmi
¶ Returns or sets the applytoPMI * - Includes only PMI data in the reference set being translated for translation
-------------------------------------
Getter Method
Signature
ApplyPmi
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ApplyPmi
Parameters: applyPMI (bool) – New in version NX8.5.0.
License requirements: None.
AsmStructure¶
-
JtCreator.
AsmStructure
¶ Returns or sets the m_asmStructure * - WriteWhichFiles = JTASSEMBLY
-------------------------------------
Getter Method
Signature
AsmStructure
Returns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
AsmStructure
Parameters: asmStructure (bool) – New in version NX11.0.1.
License requirements: None.
AutolowLod¶
-
JtCreator.
AutolowLod
¶ Returns or sets the autolowLOD *- Specifies wheather autoLOW LOD generation is ON or OFF
-------------------------------------
Getter Method
Signature
AutolowLod
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AutolowLod
Parameters: autolowLOD (bool) – New in version NX8.5.0.
License requirements: None.
ChordalOption¶
-
JtCreator.
ChordalOption
¶ Returns or sets the chordal option - Specifies wheather the chordal value should be RELATIVE or ABSOLUTE
-------------------------------------
Getter Method
Signature
ChordalOption
Returns: Return type: NXOpen.JtCreatorChordalValue
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ChordalOption
Parameters: chordalOption ( NXOpen.JtCreatorChordalValue
) –New in version NX8.5.0.
License requirements: None.
ConfigFile¶
-
JtCreator.
ConfigFile
¶ Returns or sets the ConfigFile file - the name of configuration file which used in translation
-------------------------------------
Getter Method
Signature
ConfigFile
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConfigFile
Parameters: filename (str) – New in version NX8.5.0.
License requirements: None.
IncludePmi¶
-
JtCreator.
IncludePmi
¶ Returns or sets the includePMI * - Specifies which product manufacturing information data is written to JT file
-------------------------------------
Getter Method
Signature
IncludePmi
Returns: Return type: NXOpen.JtCreatorPmiOption
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IncludePmi
Parameters: includePmi ( NXOpen.JtCreatorPmiOption
) –New in version NX8.5.0.
License requirements: None.
JtParts¶
-
JtCreator.
JtParts
¶ Returns or sets the m_jtParts * - WriteWhichFiles = JTPARTS
-------------------------------------
Getter Method
Signature
JtParts
Returns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
JtParts
Parameters: jtParts (bool) – New in version NX11.0.1.
License requirements: None.
JtWrite¶
-
JtCreator.
JtWrite
¶ Returns or sets the jtWrite * - Allows to choose between writing Assembly and PArt data to the JT file
-------------------------------------
Getter Method
Signature
JtWrite
Returns: Return type: NXOpen.JtCreatorFileWrite
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
JtWrite
Parameters: jtfileType ( NXOpen.JtCreatorFileWrite
) –New in version NX8.5.0.
License requirements: None.
JtfileStructure¶
-
JtCreator.
JtfileStructure
¶ Returns or sets the jtFileStructure * - Determines the organization of the JT files on the disk
-------------------------------------
Getter Method
Signature
JtfileStructure
Returns: Return type: NXOpen.JtCreatorFileStructure
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
JtfileStructure
Parameters: fileStructure ( NXOpen.JtCreatorFileStructure
) –New in version NX8.5.0.
License requirements: None.
LightTextureMaterial¶
-
JtCreator.
LightTextureMaterial
¶ Returns or sets the m_lightTextureMaterial * - lightTextureMaterial
-------------------------------------
Getter Method
Signature
LightTextureMaterial
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LightTextureMaterial
Parameters: lightTextureMaterial (bool) – New in version NX12.0.0.
License requirements: None.
LighweightLabel¶
-
JtCreator.
LighweightLabel
¶ Returns or sets the m_lighweightLabel - the lightweight label which needs to be write in to jtfile
-------------------------------------
Getter Method
Signature
LighweightLabel
Returns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LighweightLabel
Parameters: labelName (str) – New in version NX10.0.0.
License requirements: None.
LodList¶
-
JtCreator.
LodList
¶ Returns the lodList - the list containing the lod items
-------------------------------------
Getter Method
Signature
LodList
Returns: Return type: NXOpen.ListCreatorList
New in version NX8.5.0.
License requirements: None.
MergeSheets¶
-
JtCreator.
MergeSheets
¶ Returns or sets the mergeSheets * - Specifies whether all sheets are written to a single node or separate node in JT file
-------------------------------------
Getter Method
Signature
MergeSheets
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MergeSheets
Parameters: mergeSheets (bool) – New in version NX8.5.0.
License requirements: None.
MergeSolids¶
-
JtCreator.
MergeSolids
¶ Returns or sets the mergeSolids * - Specifies whether all solids are written to a single node or separate node in JT file
-------------------------------------
Getter Method
Signature
MergeSolids
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MergeSolids
Parameters: mergeSolids (bool) – New in version NX8.5.0.
License requirements: None.
OutputJtFile¶
-
JtCreator.
OutputJtFile
¶ Returns or sets the output file - the name of jt file where output is being written
-------------------------------------
Getter Method
Signature
OutputJtFile
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputJtFile
Parameters: filename (str) – New in version NX8.5.0.
License requirements: None.
PreciseGeom¶
-
JtCreator.
PreciseGeom
¶ Returns or sets the preciseGeom * - Specifies whether precise model geometry should be Enabled or Disabled in translated
-------------------------------------
Getter Method
Signature
PreciseGeom
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PreciseGeom
Parameters: preciseGeom (bool) – New in version NX8.5.0.
License requirements: None.
SmartLod¶
-
JtCreator.
SmartLod
¶ Returns or sets the smartLOD * - Specifies wheather smart LOD generation is ON or OFF
-------------------------------------
Getter Method
Signature
SmartLod
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmartLod
Parameters: smartLOD (bool) – New in version NX8.5.0.
License requirements: None.
TessOption¶
-
JtCreator.
TessOption
¶ Returns or sets the m_tessOption * - Specifies the type for Level of Details, whether Defined Level or Use NX Resolution
-------------------------------------
Getter Method
Signature
TessOption
Returns: Return type: NXOpen.JtCreatorTessellationOption
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TessOption
Parameters: tessOption ( NXOpen.JtCreatorTessellationOption
) –New in version NX10.0.0.
License requirements: None.
UseRefset¶
-
JtCreator.
UseRefset
¶ Returns or sets the useRefset * - Specifies from which reference the data should be written to JT file
-------------------------------------
Getter Method
Signature
UseRefset
Returns: Return type: NXOpen.JtCreatorRefsetOption
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseRefset
Parameters: useRefset ( NXOpen.JtCreatorRefsetOption
) –New in version NX8.5.0.
License requirements: None.
WireFrame¶
-
JtCreator.
WireFrame
¶ Returns or sets the wireFrame * - Controls translation of wireframe and point entities to JT file
-------------------------------------
Getter Method
Signature
WireFrame
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WireFrame
Parameters: wireFrame (bool) – New in version NX8.5.0.
License requirements: None.
Method Detail¶
LoadConfigSettings¶
-
JtCreator.
LoadConfigSettings
¶ Loads configuration file settings onto builder
Signature
LoadConfigSettings()
New in version NX12.0.0.
License requirements: None.
NewLevel¶
-
JtCreator.
NewLevel
¶ Creates a
NXOpen.ListCreator
object.Signature
NewLevel()
Returns: Return type: NXOpen.ListCreator
New in version NX8.5.0.
License requirements: None.
Validate¶
-
JtCreator.
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.