LsdynaKfileGeneratorBuilder Class¶
-
class
NXOpen.Tooling.
LsdynaKfileGeneratorBuilder
¶ Bases:
NXOpen.Builder
Represents LS-Dyna K file builder - K file generator builder
To create a new instance of this class, use
NXOpen.Tooling.AutoDieCollection.CreateLsdynaKfileGeneratorBuilder()
Default values.
Property Value ElementType Triangle MaximumAngle 20.0 MaximumDeviation 0.15 MaximumElementSize 24.0 MinimumElementSize 1.0 OutputState 15 New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
DataType | Returns or sets the data type |
ElementType | Returns or sets the element type |
InputDynaFile | Returns the input dyna file |
MaximumAngle | Returns or sets the maximum angle |
MaximumDeviation | Returns or sets the maximum deviation |
MaximumElementSize | Returns or sets the maximum element size |
MinimumElementSize | Returns or sets the minimum element size |
OutputFile | Returns the output file |
OutputPath | Returns the output path |
OutputState | Returns or sets the output state which will be used to control the result display. |
Tag | Returns the Tag for this object. |
Type | Returns or sets the type of operation to be run. |
Methods¶
Method | Description |
---|---|
AnalyzeFormability | Analyzes the formability based on the input K file. |
CalculateMeshValue | Calculates the default mesh settings values. |
Commit | Commits any edits that have been applied to the builder. |
CreateLSDynaKFile | Creates LS-DYNA K file. |
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. |
MeshObject | Meshes the part. |
SetInputDynaFile | Sets the input dyna file. |
SetOutputFile | Sets the output file. |
SetOutputPath | Sets the output path. |
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¶
LsdynaKfileGeneratorBuilderMeshDataType Enumeration | Types of data format. |
LsdynaKfileGeneratorBuilderMeshElementType Enumeration | Types of mesh element type. |
LsdynaKfileGeneratorBuilderOperTypes Enumeration | Types of operation. |
Property Detail¶
DataType¶
-
LsdynaKfileGeneratorBuilder.
DataType
¶ Returns or sets the data type
-------------------------------------
Getter Method
Signature
DataType()
Returns: Return type: NXOpen.Tooling.LsdynaKfileGeneratorBuilderMeshDataType
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DataType(dataType)
Parameters: dataType ( NXOpen.Tooling.LsdynaKfileGeneratorBuilderMeshDataType
) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ElementType¶
-
LsdynaKfileGeneratorBuilder.
ElementType
¶ Returns or sets the element type
-------------------------------------
Getter Method
Signature
ElementType()
Returns: Return type: NXOpen.Tooling.LsdynaKfileGeneratorBuilderMeshElementType
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ElementType(elementType)
Parameters: elementType ( NXOpen.Tooling.LsdynaKfileGeneratorBuilderMeshElementType
) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
InputDynaFile¶
-
LsdynaKfileGeneratorBuilder.
InputDynaFile
¶ Returns the input dyna file
-------------------------------------
Getter Method
Signature
InputDynaFile()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
MaximumAngle¶
-
LsdynaKfileGeneratorBuilder.
MaximumAngle
¶ Returns or sets the maximum angle
-------------------------------------
Getter Method
Signature
MaximumAngle()
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumAngle(maximumAngle)
Parameters: maximumAngle (float) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
MaximumDeviation¶
-
LsdynaKfileGeneratorBuilder.
MaximumDeviation
¶ Returns or sets the maximum deviation
-------------------------------------
Getter Method
Signature
MaximumDeviation()
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumDeviation(maximumDeviation)
Parameters: maximumDeviation (float) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
MaximumElementSize¶
-
LsdynaKfileGeneratorBuilder.
MaximumElementSize
¶ Returns or sets the maximum element size
-------------------------------------
Getter Method
Signature
MaximumElementSize()
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumElementSize(maximumElementSize)
Parameters: maximumElementSize (float) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
MinimumElementSize¶
-
LsdynaKfileGeneratorBuilder.
MinimumElementSize
¶ Returns or sets the minimum element size
-------------------------------------
Getter Method
Signature
MinimumElementSize()
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MinimumElementSize(minimumElementSize)
Parameters: minimumElementSize (float) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
OutputFile¶
-
LsdynaKfileGeneratorBuilder.
OutputFile
¶ Returns the output file
-------------------------------------
Getter Method
Signature
OutputFile()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
OutputPath¶
-
LsdynaKfileGeneratorBuilder.
OutputPath
¶ Returns the output path
-------------------------------------
Getter Method
Signature
OutputPath()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
OutputState¶
-
LsdynaKfileGeneratorBuilder.
OutputState
¶ Returns or sets the output state which will be used to control the result display.
-------------------------------------
Getter Method
Signature
OutputState()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OutputState(outputState)
Parameters: outputState (int) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Type¶
-
LsdynaKfileGeneratorBuilder.
Type
¶ Returns or sets the type of operation to be run.
-------------------------------------
Getter Method
Signature
Type()
Returns: Return type: NXOpen.Tooling.LsdynaKfileGeneratorBuilderOperTypes
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type(type)
Parameters: type ( NXOpen.Tooling.LsdynaKfileGeneratorBuilderOperTypes
) –New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Method Detail¶
AnalyzeFormability¶
-
LsdynaKfileGeneratorBuilder.
AnalyzeFormability
¶ Analyzes the formability based on the input K file.
Signature
AnalyzeFormability(kFile)
Parameters: kFile (str) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
CalculateMeshValue¶
-
LsdynaKfileGeneratorBuilder.
CalculateMeshValue
¶ Calculates the default mesh settings values.
Signature
CalculateMeshValue()
New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
CreateLSDynaKFile¶
-
LsdynaKfileGeneratorBuilder.
CreateLSDynaKFile
¶ Creates LS-DYNA K file.
Signature
CreateLSDynaKFile(kFile)
Parameters: kFile (str) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
MeshObject¶
-
LsdynaKfileGeneratorBuilder.
MeshObject
¶ Meshes the part.
Signature
MeshObject()
New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SetInputDynaFile¶
-
LsdynaKfileGeneratorBuilder.
SetInputDynaFile
¶ Sets the input dyna file.
Signature
SetInputDynaFile(fileName)
Parameters: fileName (str) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SetOutputFile¶
-
LsdynaKfileGeneratorBuilder.
SetOutputFile
¶ Sets the output file.
Signature
SetOutputFile(outputFile)
Parameters: outputFile (str) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SetOutputPath¶
-
LsdynaKfileGeneratorBuilder.
SetOutputPath
¶ Sets the output path.
Signature
SetOutputPath(outputPath)
Parameters: outputPath (str) – New in version NX9.0.0.
License requirements: die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Validate¶
-
LsdynaKfileGeneratorBuilder.
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.