HyperX.Scripting.Api
The HyperX C# Scripting Application Programming Interface
Loading...
Searching...
No Matches
HyperX.Scripting.Laminate Class Referencesealed

Laminate. More...

Inheritance diagram for HyperX.Scripting.Laminate:
HyperX.Scripting.LaminateBase

Public Member Functions

LaminateLayer AddLayer (string materialName, double angle, double? thickness=null)
 Adds a layer to the laminate.
LaminateLayer InsertLayer (int layerId, string materialName, double angle, double? thickness=null)
 Inserts a layer into the laminate before the layer with the specified layerId .
bool RemoveLayer (int layerId)
 Removes a layer from the laminate.
override void Save ()
 Save any changes to this laminate material to the database.
Public Member Functions inherited from HyperX.Scripting.LaminateBase
void Save ()
 Save the laminate.

Properties

IReadOnlyList< LaminateLayerLayers [get]
Properties inherited from HyperX.Scripting.LaminateBase
double Density [get]
 Density. Eng: lbm/in^3 / SI: kg/m^3.
bool HyperLaminate [get]
int Id [get]
bool IsEditable [get]
int? LaminateFamilyId [get]
int? LaminateFamilyOrder [get]
int LayerCount [get]
 The total number of layers in this laminate.
string MaterialFamilyName [get, set]
string Name [get, set]
double Thickness [get]
 Thickness. Eng: in / SI: mm.

Additional Inherited Members

Protected Member Functions inherited from HyperX.Scripting.LaminateBase
void CheckEditable ()
 Check if a laminate is part of a laminate family or if it is in use by plies.
 LaminateBase (Application application, LaminateMaterial model, LaminateCol parent)
void RecalculateMetrics ()
Protected Attributes inherited from HyperX.Scripting.LaminateBase
readonly Application _application

Detailed Description

Member Function Documentation

◆ AddLayer()

LaminateLayer HyperX.Scripting.Laminate.AddLayer ( string materialName,
double angle,
double? thickness = null )

Adds a layer to the laminate.

Parameters
materialName
angle
thicknessIf the material is orthotropic, don't provide a thickness. For all other material types, providing a thickness is required.
Returns
The added layer.

◆ InsertLayer()

LaminateLayer HyperX.Scripting.Laminate.InsertLayer ( int layerId,
string materialName,
double angle,
double? thickness = null )

Inserts a layer into the laminate before the layer with the specified layerId .

layerId is 1 indexed.

Parameters
layerId
materialName
angle
thicknessIf the material is orthotropic, don't provide a thickness. For all other material types, providing a thickness is required.
Returns
The inserted layer.

◆ RemoveLayer()

bool HyperX.Scripting.Laminate.RemoveLayer ( int layerId)

Removes a layer from the laminate.

Parameters
layerId
Returns
False if the specified layer is not found.

◆ Save()

override void HyperX.Scripting.Laminate.Save ( )

Save any changes to this laminate material to the database.

Property Documentation

◆ Layers

IReadOnlyList<LaminateLayer> HyperX.Scripting.Laminate.Layers
get

The documentation for this class was generated from the following file: