LaminateImportedLayupBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# LaminateImportedLayupBuilder Class

class `NXOpen.CAE.``LaminateImportedLayupBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.CAE.LaminateImportedLayupBuilder` builder

  To create a new instance of this class, use `NXOpen.CAE.LaminateGlobalLayupMgr.CreateLaminateImportedLayupBuilder()`

  Default values.

  Property | Value
  --- | ---
  FileType | FiberSimXml
  ImportMethod | ExternalFile
  NameOverride | 0
  Tolerance.Value | 0 (millimeters part), 0 (inches part)

  New in version NX6.0.4.

# Properties

Property | Description
--- | ---
ApiType | Returns or sets the external api selected for layup import
ElementalElemSelection | Returns the element face on which to apply the elemental mapping
ElementalMapping | Returns or sets the elemental mapping options.
ElementalNodalMapping | Returns or sets the ply mapping options.
FileName | Returns or sets the full name and path of the file to be imported
FileType | Returns or sets the type of file to be imported
ImportMaterials | Returns or sets the material import option
ImportMethod | Returns or sets the import method
LayupName | Returns or sets the user defined layup name
MaxDeviationAngle | Returns the angle between the normal of the fem element and the mapped element.
MeshSizeFactor | Returns or sets the factor that determine the mesh size when creating polygon face from mesh (for CATIA ply groups import only) The NX suggested mesh size is multiplied with this factor
NameOverride | Returns or sets the option to override the fibersim layup name with a user defined name
NodalMapping | Returns or sets the nodal mapping options.
NumDiscretizationPoints | Returns or sets the number of points used when discretizing the ply boundary curves (for CATIA ply groups import only)
OmitPartiallyMapped | Returns or sets the omit partially mapped face option.
OverwriteMaterials | Returns or sets the material import overwrite option
Selection | Returns the geometric face(s) and element face(s) on which to assign the material orientation
Tag | Returns the Tag for this object.
Tolerance | Returns the tolerance used to localize each FEM element layup information
UnmappedFaceThreshold | Returns or sets the unmapped face threshold value (%).

# 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.
SelectLaminate | Selects a laminate for import
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UpdateApiLaminateList | Updates the list of available laminates in the API
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

LaminateImportedLayupBuilderApiTypeEnum Enumeration | Type of external API supported.
LaminateImportedLayupBuilderFileEnum Enumeration | Type of external file to be imported.
LaminateImportedLayupBuilderImportMethodEnum Enumeration | Import method type.

# Property Detail

## ApiType

`LaminateImportedLayupBuilder.``ApiType`

  Returns or sets the external api selected for layup import

  `-------------------------------------`

  Getter Method

  Signature `ApiType`

  Returns: |
  Return type: | `NXOpen.CAE.LaminateImportedLayupBuilderApiTypeEnum`

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ApiType`

  Parameters: | apiType (`NXOpen.CAE.LaminateImportedLayupBuilderApiTypeEnum`) –

  New in version NX8.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## ElementalElemSelection

`LaminateImportedLayupBuilder.``ElementalElemSelection`

  Returns the element face on which to apply the elemental mapping

  `-------------------------------------`

  Getter Method

  Signature `ElementalElemSelection`

  Returns: |
  Return type: | `NXOpen.CAE.SelectElementsBuilder`

  New in version NX10.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## ElementalMapping

`LaminateImportedLayupBuilder.``ElementalMapping`

  Returns or sets the elemental mapping options.

  `-------------------------------------`

  Getter Method

  Signature `ElementalMapping`

  Returns: |
  Return type: | int

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ElementalMapping`

  Parameters: | elementalMapping (int) –

  New in version NX11.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## ElementalNodalMapping

`LaminateImportedLayupBuilder.``ElementalNodalMapping`

  Returns or sets the ply mapping options.

  `-------------------------------------`

  Getter Method

  Signature `ElementalNodalMapping`

  Returns: |
  Return type: | int

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ElementalNodalMapping`

  Parameters: | elementalNodalMapping (int) –

  New in version NX11.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## FileName

`LaminateImportedLayupBuilder.``FileName`

  Returns or sets the full name and path of the file to be imported

  `-------------------------------------`

  Getter Method

  Signature `FileName`

  Returns: |
  Return type: | str

  New in version NX6.0.4.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FileName`

  Parameters: | filename (str) –

  New in version NX6.0.4.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## FileType

`LaminateImportedLayupBuilder.``FileType`

  Returns or sets the type of file to be imported

  `-------------------------------------`

  Getter Method

  Signature `FileType`

  Returns: |
  Return type: | `NXOpen.CAE.LaminateImportedLayupBuilderFileEnum`

  New in version NX6.0.4.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FileType`

  Parameters: | fileType (`NXOpen.CAE.LaminateImportedLayupBuilderFileEnum`) –

  New in version NX6.0.4.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## ImportMaterials

`LaminateImportedLayupBuilder.``ImportMaterials`

  Returns or sets the material import option

  `-------------------------------------`

  Getter Method

  Signature `ImportMaterials`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ImportMaterials`

  Parameters: | importMaterials (bool) –

  New in version NX8.5.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## ImportMethod

`LaminateImportedLayupBuilder.``ImportMethod`

  Returns or sets the import method

  `-------------------------------------`

  Getter Method

  Signature `ImportMethod`

  Returns: |
  Return type: | `NXOpen.CAE.LaminateImportedLayupBuilderImportMethodEnum`

  New in version NX6.0.4.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ImportMethod`

  Parameters: | importMethod (`NXOpen.CAE.LaminateImportedLayupBuilderImportMethodEnum`) –

  New in version NX6.0.4.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## LayupName

`LaminateImportedLayupBuilder.``LayupName`

  Returns or sets the user defined layup name

  `-------------------------------------`

  Getter Method

  Signature `LayupName`

  Returns: |
  Return type: | str

  New in version NX6.0.4.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LayupName`

  Parameters: | layupName (str) –

  New in version NX6.0.4.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## MaxDeviationAngle

`LaminateImportedLayupBuilder.``MaxDeviationAngle`

  Returns the angle between the normal of the fem element and the mapped element.

  `-------------------------------------`

  Getter Method

  Signature `MaxDeviationAngle`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX11.0.0.

  License requirements: None.

## MeshSizeFactor

`LaminateImportedLayupBuilder.``MeshSizeFactor`

  Returns or sets the factor that determine the mesh size when creating polygon face from mesh (for CATIA ply groups import only) The NX suggested mesh size is multiplied with this factor

  `-------------------------------------`

  Getter Method

  Signature `MeshSizeFactor`

  Returns: |
  Return type: | float

  New in version NX12.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MeshSizeFactor`

  Parameters: | meshSizeFactor (float) –

  New in version NX12.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## NameOverride

`LaminateImportedLayupBuilder.``NameOverride`

  Returns or sets the option to override the fibersim layup name with a user defined name

  `-------------------------------------`

  Getter Method

  Signature `NameOverride`

  Returns: |
  Return type: | bool

  New in version NX6.0.4.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NameOverride`

  Parameters: | nameOverride (bool) –

  New in version NX6.0.4.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## NodalMapping

`LaminateImportedLayupBuilder.``NodalMapping`

  Returns or sets the nodal mapping options.

  `-------------------------------------`

  Getter Method

  Signature `NodalMapping`

  Returns: |
  Return type: | int

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NodalMapping`

  Parameters: | nodalMapping (int) –

  New in version NX11.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## NumDiscretizationPoints

`LaminateImportedLayupBuilder.``NumDiscretizationPoints`

  Returns or sets the number of points used when discretizing the ply boundary curves (for CATIA ply groups import only)

  `-------------------------------------`

  Getter Method

  Signature `NumDiscretizationPoints`

  Returns: |
  Return type: | int

  New in version NX12.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `NumDiscretizationPoints`

  Parameters: | numDiscretizationPoints (int) –

  New in version NX12.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## OmitPartiallyMapped

`LaminateImportedLayupBuilder.``OmitPartiallyMapped`

  Returns or sets the omit partially mapped face option.

  When on, face(s) for which the number of elements successfully mapped in the FiberSim XML mesh is under a certain ratio, will be discarded.

  `-------------------------------------`

  Getter Method

  Signature `OmitPartiallyMapped`

  Returns: |
  Return type: | bool

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `OmitPartiallyMapped`

  Parameters: | omitPartiallyMapped (bool) –

  New in version NX8.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## OverwriteMaterials

`LaminateImportedLayupBuilder.``OverwriteMaterials`

  Returns or sets the material import overwrite option

  `-------------------------------------`

  Getter Method

  Signature `OverwriteMaterials`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `OverwriteMaterials`

  Parameters: | overwriteMaterials (bool) –

  New in version NX8.5.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## Selection

`LaminateImportedLayupBuilder.``Selection`

  Returns the geometric face(s) and element face(s) on which to assign the material orientation

  `-------------------------------------`

  Getter Method

  Signature `Selection`

  Returns: |
  Return type: | `NXOpen.CAE.LaminateSelectEntitiesBuilder`

  New in version NX8.0.1.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## Tolerance

`LaminateImportedLayupBuilder.``Tolerance`

  Returns the tolerance used to localize each FEM element layup information

  `-------------------------------------`

  Getter Method

  Signature `Tolerance`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX6.0.4.

  License requirements: None.

## UnmappedFaceThreshold

`LaminateImportedLayupBuilder.``UnmappedFaceThreshold`

  Returns or sets the unmapped face threshold value (%).

  When the OmitPartiallyMapped option is on, the percentage is used to determine which face(s) will be discarded during import.

  `-------------------------------------`

  Getter Method

  Signature `UnmappedFaceThreshold`

  Returns: |
  Return type: | float

  New in version NX8.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UnmappedFaceThreshold`

  Parameters: | unmappedFaceThreshold (float) –

  New in version NX8.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

# Method Detail

## SelectLaminate

`LaminateImportedLayupBuilder.``SelectLaminate`

  Selects a laminate for import

  Signature `SelectLaminate(laminate)`

  Parameters: | laminate (str) –

  New in version NX8.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## UpdateApiLaminateList

`LaminateImportedLayupBuilder.``UpdateApiLaminateList`

  Updates the list of available laminates in the API

  Signature `UpdateApiLaminateList()`

  New in version NX8.0.0.

  License requirements: nx_lam_comp_adv (“Laminate Composites Advanced”)

## Validate

`LaminateImportedLayupBuilder.``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.