LaminatePly Class¶
-
class
NXOpen.CAE.LaminatePly¶ Bases:
NXOpen.NXObjectRepresents one ply in a laminate layup
New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AngleExpression | Returns the ply angle expression, relative to local material orientation |
| Color | Returns or sets the ply color |
| Description | Returns or sets the ply description |
| DrapingExtension | Returns or sets the draping extension selection |
| DrapingInput | Returns or sets the draping data (draping settings) |
| GlobalId | Returns or sets the ply global id |
| InterLaminarFailureTheory | Returns or sets the inter laminar failure theory used in a solid laminate nastran analysis (PCOMPS) |
| IsOccurrence | Returns whether this object is an occurrence or not. |
| JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
| Name | Returns the custom name of the object. |
| Orientation | Returns or sets the ply orientation angle in degrees, relative to local material orientation |
| OwningComponent | Returns the owning component, if this object is an occurrence. |
| OwningPart | Returns the owning part of this object |
| PlyFailureTheory | Returns or sets the ply failure theory used in a solid laminate nastran analysis (PCOMPS) |
| Prototype | Returns the prototype of this object if it is an occurrence. |
| SolidProperty | Returns or sets the ply solid property |
| Tag | Returns the Tag for this object. |
| Thickness | Returns or sets the ply thickness, in part units (inches or millimeters) |
| ThicknessExpression | Returns the ply thickness expression |
| UserDefinedInterLaminarFailureTheory | Returns or sets the user defined interlaminar failure theory name used in a solid laminate nastran analysis (PCOMPS) |
| UserDefinedPlyFailureTheory | Returns or sets the user defined ply failure theory name used in a solid laminate nastran analysis (PCOMPS) |
Methods¶
| Method | Description |
|---|---|
| AssignAngleExpression | Assigns a value to the ply angle expression |
| AssignThicknessExpression | Assigns a value to the ply thickness expression |
| ComputeDraping | Launch the draping algorithm, overriding previous results |
| CopyDrapingResults | Copy draping results. |
| CopyDrapingResultsInstance | Copy draping results. |
| CreateAttributeIterator | Create an attribute iterator |
| CreateDrapingDataBuilder | Creates a NXOpen.CAE.LaminateDrapingDataBuilder |
| CreateDrapingExtensionBuilder | Creates a NXOpen.CAE.LaminateDrapingExtensionBuilder |
| CreateLaminatePlyMaxThicknessVarBuilder | Creates a NXOpen.CAE.LaminatePlyMaxThicknessVarBuilder |
| DeleteAllAttributesByType | Deletes all attributes of a specific type. |
| DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
| DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
| DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
| ExportDrapingDomainAsGroup | Exports draping domain to a group |
| ExportDrapingResults | Exports draping results to a csv file. |
| FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
| GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
| GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
| GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
| GetIntegerAttribute | Gets an integer attribute by title. |
| GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
| GetMaterialName | Gets the material name |
| GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
| GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
| GetRealAttribute | Gets a real attribute by title. |
| GetRealUserAttribute | Gets a real attribute by Title and array Index. |
| GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
| GetStringAttribute | Gets a string attribute value by title. |
| GetStringUserAttribute | Gets a string attribute by Title and array Index. |
| GetTimeAttribute | Gets a time attribute by title. |
| GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
| GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
| GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
| GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
| GetUserAttributeLock | Determine the lock of the given attribute. |
| GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
| GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
| GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
| GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
| HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
| Information | Display global ply information |
| Prints a representation of this object to the system log file. | |
| ResetExtensionTarget | For global link ply subtype, resets the ply link target |
| SetAttribute | Creates or modifies an integer attribute. |
| SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
| SetMaterialByName | Sets the material by name. |
| SetName | Sets the custom name of the object. |
| SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
| SetPlyMaterialByName | Sets the ply material by name. |
| SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
| SetTimeAttribute | Creates or modifies a time attribute. |
| SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
| SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
| SetUserAttributeLock | Lock or unlock the given attribute. |
Enumerations¶
| LaminatePlyInterLaminarFailureTheoryType Enumeration | Inter-Laminar failure theory types |
| LaminatePlyPlyFailureTheoryType Enumeration | Ply failure theory types |
| LaminatePlySolidPropertyType Enumeration | Solid property type for laminate extrusion |
Property Detail¶
AngleExpression¶
-
LaminatePly.AngleExpression¶ Returns the ply angle expression, relative to local material orientation
-------------------------------------Getter Method
Signature
AngleExpressionReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
Color¶
-
LaminatePly.Color¶ Returns or sets the ply color
-------------------------------------Getter Method
Signature
ColorReturns: ply color Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ColorParameters: orientation (int) – ply color New in version NX5.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
Description¶
-
LaminatePly.Description¶ Returns or sets the ply description
-------------------------------------Getter Method
Signature
DescriptionReturns: ply description Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DescriptionParameters: description (str) – ply description New in version NX7.5.0.
License requirements: nx_lam_composites (“Laminate Composites”)
DrapingExtension¶
-
LaminatePly.DrapingExtension¶ Returns or sets the draping extension selection
-------------------------------------Getter Method
Signature
DrapingExtensionReturns: draping extension Return type: NXOpen.CAE.LaminateDrapingExtensionNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrapingExtensionParameters: drapingExtension ( NXOpen.CAE.LaminateDrapingExtension) – draping extensionNew in version NX8.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
DrapingInput¶
-
LaminatePly.DrapingInput¶ Returns or sets the draping data (draping settings)
-------------------------------------Getter Method
Signature
DrapingInputReturns: draping algorithm input Return type: NXOpen.CAE.LaminateDrapingDataNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrapingInputParameters: drapingInput ( NXOpen.CAE.LaminateDrapingData) – draping algorithm inputNew in version NX7.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
GlobalId¶
-
LaminatePly.GlobalId¶ Returns or sets the ply global id
-------------------------------------Getter Method
Signature
GlobalIdReturns: ply color Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GlobalIdParameters: globalId (int) – ply color New in version NX6.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
InterLaminarFailureTheory¶
-
LaminatePly.InterLaminarFailureTheory¶ Returns or sets the inter laminar failure theory used in a solid laminate nastran analysis (PCOMPS)
-------------------------------------Getter Method
Signature
InterLaminarFailureTheoryReturns: Return type: NXOpen.CAE.LaminatePlyInterLaminarFailureTheoryTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InterLaminarFailureTheoryParameters: interLaminarFailureTheory ( NXOpen.CAE.LaminatePlyInterLaminarFailureTheoryType) –New in version NX8.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
IsOccurrence¶
-
LaminatePly.IsOccurrence¶ Returns whether this object is an occurrence or not.
-------------------------------------Getter Method
Signature
IsOccurrenceReturns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
LaminatePly.JournalIdentifier¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------Getter Method
Signature
JournalIdentifierReturns: Return type: str New in version NX3.0.0.
License requirements: None.
Name¶
-
LaminatePly.Name¶ Returns the custom name of the object.
-------------------------------------Getter Method
Signature
NameReturns: Return type: str New in version NX3.0.0.
License requirements: None.
Orientation¶
-
LaminatePly.Orientation¶ Returns or sets the ply orientation angle in degrees, relative to local material orientation
-------------------------------------Getter Method
Signature
OrientationReturns: ply orientation Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OrientationParameters: orientation (float) – ply orientation New in version NX5.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
OwningComponent¶
-
LaminatePly.OwningComponent¶ Returns the owning component, if this object is an occurrence.
-------------------------------------Getter Method
Signature
OwningComponentReturns: Return type: NXOpen.Assemblies.ComponentNew in version NX3.0.0.
License requirements: None.
OwningPart¶
-
LaminatePly.OwningPart¶ Returns the owning part of this object
-------------------------------------Getter Method
Signature
OwningPartReturns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePartNew in version NX3.0.0.
License requirements: None.
PlyFailureTheory¶
-
LaminatePly.PlyFailureTheory¶ Returns or sets the ply failure theory used in a solid laminate nastran analysis (PCOMPS)
-------------------------------------Getter Method
Signature
PlyFailureTheoryReturns: Return type: NXOpen.CAE.LaminatePlyPlyFailureTheoryTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlyFailureTheoryParameters: plyFailureTheory ( NXOpen.CAE.LaminatePlyPlyFailureTheoryType) –New in version NX8.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
Prototype¶
-
LaminatePly.Prototype¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------Getter Method
Signature
PrototypeReturns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObjectNew in version NX3.0.0.
License requirements: None.
SolidProperty¶
-
LaminatePly.SolidProperty¶ Returns or sets the ply solid property
-------------------------------------Getter Method
Signature
SolidPropertyReturns: ply solid property Return type: NXOpen.CAE.LaminatePlySolidPropertyTypeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SolidPropertyParameters: solidProp ( NXOpen.CAE.LaminatePlySolidPropertyType) – ply solid propertyNew in version NX9.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
Thickness¶
-
LaminatePly.Thickness¶ Returns or sets the ply thickness, in part units (inches or millimeters)
-------------------------------------Getter Method
Signature
ThicknessReturns: ply thickness Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ThicknessParameters: thickness (float) – ply thickness New in version NX5.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
ThicknessExpression¶
-
LaminatePly.ThicknessExpression¶ Returns the ply thickness expression
-------------------------------------Getter Method
Signature
ThicknessExpressionReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
UserDefinedInterLaminarFailureTheory¶
-
LaminatePly.UserDefinedInterLaminarFailureTheory¶ Returns or sets the user defined interlaminar failure theory name used in a solid laminate nastran analysis (PCOMPS)
-------------------------------------Getter Method
Signature
UserDefinedInterLaminarFailureTheoryReturns: the user defined interlaminar failure theory name Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UserDefinedInterLaminarFailureTheoryParameters: name (str) – the user defined interlaminar failure theory name New in version NX9.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
UserDefinedPlyFailureTheory¶
-
LaminatePly.UserDefinedPlyFailureTheory¶ Returns or sets the user defined ply failure theory name used in a solid laminate nastran analysis (PCOMPS)
-------------------------------------Getter Method
Signature
UserDefinedPlyFailureTheoryReturns: the user defined ply failure theory name Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UserDefinedPlyFailureTheoryParameters: name (str) – the user defined ply failure theory name New in version NX9.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
Method Detail¶
AssignAngleExpression¶
-
LaminatePly.AssignAngleExpression¶ Assigns a value to the ply angle expression
Signature
AssignAngleExpression(angleExp)Parameters: angleExp (str) – The angle expression string New in version NX10.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
AssignThicknessExpression¶
-
LaminatePly.AssignThicknessExpression¶ Assigns a value to the ply thickness expression
Signature
AssignThicknessExpression(thickExp)Parameters: thickExp (str) – The thickness expression string New in version NX10.0.0.
License requirements: nx_lam_composites (“Laminate Composites”)
ComputeDraping¶
-
LaminatePly.ComputeDraping¶ Launch the draping algorithm, overriding previous results
Signature
ComputeDraping()New in version NX7.5.1.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
CopyDrapingResults¶
-
LaminatePly.CopyDrapingResults¶ Copy draping results.
Signature
CopyDrapingResults(drapingResults)Parameters: drapingResults ( NXOpen.CAE.LaminateDrapingOrientation) – draping resultsNew in version NX7.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.CAE.LaminatePly.CopyDrapingResultsInstance()instead.License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
CopyDrapingResultsInstance¶
-
LaminatePly.CopyDrapingResultsInstance¶ Copy draping results.
Signature
CopyDrapingResultsInstance(drapingResults)Parameters: drapingResults ( NXOpen.CAE.LaminateIDrapingOrientation) – draping resultsNew in version NX11.0.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
CreateDrapingDataBuilder¶
-
LaminatePly.CreateDrapingDataBuilder¶ Creates a
NXOpen.CAE.LaminateDrapingDataBuilderSignature
CreateDrapingDataBuilder()Returns: Return type: NXOpen.CAE.LaminateDrapingDataBuilderNew in version NX7.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
CreateDrapingExtensionBuilder¶
-
LaminatePly.CreateDrapingExtensionBuilder¶ Creates a
NXOpen.CAE.LaminateDrapingExtensionBuilderSignature
CreateDrapingExtensionBuilder()Returns: Return type: NXOpen.CAE.LaminateDrapingExtensionBuilderNew in version NX8.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
CreateLaminatePlyMaxThicknessVarBuilder¶
-
LaminatePly.CreateLaminatePlyMaxThicknessVarBuilder¶ Creates a
NXOpen.CAE.LaminatePlyMaxThicknessVarBuilderSignature
CreateLaminatePlyMaxThicknessVarBuilder()Returns: Return type: NXOpen.CAE.LaminatePlyMaxThicknessVarBuilderNew in version NX8.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
ExportDrapingDomainAsGroup¶
-
LaminatePly.ExportDrapingDomainAsGroup¶ Exports draping domain to a group
Signature
ExportDrapingDomainAsGroup()New in version NX7.5.2.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
ExportDrapingResults¶
-
LaminatePly.ExportDrapingResults¶ Exports draping results to a csv file.
Signature
ExportDrapingResults(csvFilename, showShearAngle, showYarnAngle, showPrimaryDirection, showSecondaryDirection, showNormalDirection)Parameters: - csvFilename (str) –
- showShearAngle (bool) –
- showYarnAngle (bool) –
- showPrimaryDirection (bool) –
- showSecondaryDirection (bool) –
- showNormalDirection (bool) –
New in version NX7.5.1.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
FindObject¶
-
LaminatePly.FindObject¶ Finds the
NXOpen.NXObjectwith the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObjectNew in version NX3.0.0.
License requirements: None.
GetMaterialName¶
-
LaminatePly.GetMaterialName¶ Gets the material name
Signature
GetMaterialName()Returns: Return type: str New in version NX10.0.0.
License requirements: None.
Information¶
-
LaminatePly.Information¶ Display global ply information
Signature
Information(detailed)Parameters: detailed (bool) – New in version NX7.5.1.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
Print¶
-
LaminatePly.Print¶ Prints a representation of this object to the system log file.
Signature
Print()New in version NX3.0.0.
License requirements: None.
ResetExtensionTarget¶
-
LaminatePly.ResetExtensionTarget¶ For global link ply subtype, resets the ply link target
Signature
ResetExtensionTarget(targetPly)Parameters: targetPly ( NXOpen.CAE.LaminatePly) – The new extension targetNew in version NX8.5.0.
License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)
SetMaterialByName¶
-
LaminatePly.SetMaterialByName¶ Sets the material by name.
Signature
SetMaterialByName(name)Parameters: name (str) – material name New in version NX7.5.0.
License requirements: nx_lam_composites (“Laminate Composites”)
SetName¶
-
LaminatePly.SetName¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)Parameters: name (str) – New in version NX3.0.0.
License requirements: None.