CATMLPKwePackage Methods

Below is information about the Layered Product Design methods.

This page discusses:

MLPComputedValues.GetComputedValueAsReal()

Signature

MLPComputedValues.GetComputedValueAsReal(Attribute : String) : Real

Arguments

Name Input/Output Required? Type Comment
Attribute In String -

ReturnType

Real

MLPDensityGroup.GetRelatedDomain()

Signature

MLPDensityGroup.GetRelatedDomain(Feature : Feature) : Feature

Arguments

Name Input/Output Required? Type Comment
Feature In Feature -

ReturnType

Feature

MLPElastics.GetStrainRatiosWithArea()

Signature

MLPElastics.GetStrainRatiosWithArea(Area : List, StrainRatio : List)

Arguments

Name Input/Output Required? Type Comment
Area Out List -
StrainRatio Out List -

MLPFormulation.PositionOn()

Signature

MLPFormulation.PositionOn(PositionOn : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
PositionOn In String -

ReturnType

Boolean

MLPLaminate.GetLaminateElementCustomMaterial()

Signature

MLPLaminate.GetLaminateElementCustomMaterial(MLPLayerObject : MLPLayerObject) : MLPCustomMaterial

Arguments

Name Input/Output Required? Type Comment
MLPLayerObject In MLPLayerObject -

ReturnType

MLPCustomMaterial

MLPLayerDomain.GetStrainRatiosWithArea()

Signature

MLPLayerDomain.GetStrainRatiosWithArea(Area : List, StrainRatio : List)

Arguments

Name Input/Output Required? Type Comment
Area Out List -
StrainRatio Out List -

MLPLayerObject.DistributeWeight()

Signature

MLPLayerObject.DistributeWeight(ErrorMessage : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
ErrorMessage Out String -

ReturnType

Boolean

MLPLayerObject.GetMaterialInfo()

Signature

MLPLayerObject.GetMaterialInfo(MaterialInfo : List)

Arguments

Name Input/Output Required? Type Comment
MaterialInfo Out List -

MLPLayerObject.GetRelatedDomain()

Signature

MLPLayerObject.GetRelatedDomain(Feature : Feature) : Feature

Arguments

Name Input/Output Required? Type Comment
Feature In Feature -

ReturnType

Feature

MLPLayerObject.GetStrainRatiosWithArea()

Signature

MLPLayerObject.GetStrainRatiosWithArea(Area : List, StrainRatio : List)

Arguments

Name Input/Output Required? Type Comment
Area Out List -
StrainRatio Out List -

MLPLayerObject.ResetDensityGridData()

Signature

MLPLayerObject.ResetDensityGridData() : Boolean

ReturnType

Boolean

MLPLayerObject.ScaleDensityGridData()

Signature

MLPLayerObject.ScaleDensityGridData() : Boolean

ReturnType

Boolean

MLPLayerObject.SetDensityGridData()

Signature

MLPLayerObject.SetDensityGridData(DTSheet : DTSheetType, ErrorMessage : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
DTSheet In DTSheetType -
ErrorMessage Out String -

ReturnType

Boolean

MLPLayerObject.SetDensityGridDataCache()

Signature

MLPLayerObject.SetDensityGridDataCache(DTSheet : DTSheetType, ErrorMessage : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
DTSheet In DTSheetType -
ErrorMessage Out String -

ReturnType

Boolean

MLPLayerObject.SetMaterial()

Signature

MLPLayerObject.SetMaterial(MLPLayerObject : MLPLayerObject) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPLayerObject In MLPLayerObject -

ReturnType

Boolean

MLPLayerObject.SetMaterial()

Signature

MLPLayerObject.SetMaterial(MaterialReference : CATMatReference) : Boolean

Arguments

Name Input/Output Required? Type Comment
MaterialReference In CATMatReference -

ReturnType

Boolean

MLPLiquid.PositionOn()

Signature

MLPLiquid.PositionOn(PositionOn : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
PositionOn In String -

ReturnType

Boolean

MLPMechanical.GetRelatedDomain()

Signature

MLPMechanical.GetRelatedDomain(Feature : Feature) : Feature

Arguments

Name Input/Output Required? Type Comment
Feature In Feature -

ReturnType

Feature

MLPObject.InsertAfter()

Signature

MLPObject.InsertAfter(MLPObject : MLPObject) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPObject In MLPObject -

ReturnType

Boolean

MLPObject.InsertBefore()

Signature

MLPObject.InsertBefore(MLPObject : MLPObject) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPObject In MLPObject -

ReturnType

Boolean

MLPObject.MoveInside()

Signature

MLPObject.MoveInside(MLPObject : MLPObject) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPObject In MLPObject -

ReturnType

Boolean

MLPObject.SetRawMaterial()

This method allows you to define the type of raw material that can be defined for a given feature.

Signature

MLPObject.SetRawMaterial(RawMaterial : Raw_Material) : Boolean

Arguments

Name Input/Output Required? Type Comment
RawMaterial In Raw_Material -

ReturnType

Boolean

The method can return one of the following values:

  • True: a material can be defined for the MLPObject (i.e. MLPObject is of the right subtype, MLPLayer, MLPRelation,…) and if the raw material is of the right type and dimension for this MLPObject.
  • False: No raw material can be defined on a feature.

MLPRelation.PositionOn()

Signature

MLPRelation.PositionOn(PositionOn : String) : Boolean

Arguments

Name Input/Output Required? Type Comment
PositionOn In String -

ReturnType

Boolean

MLPStacking.GetViewMode()

Signature

MLPStacking.GetViewMode() : Integer

ReturnType

Integer

MLPStacking.SetViewMode()

Signature

MLPStacking.SetViewMode(ViewMode : Integer)

Arguments

Name Input/Output Required? Type Comment
ViewMode In Integer -

MLPStitching.GetMaterialInfo()

Signature

MLPStitching.GetMaterialInfo(MaterialInfo : List)

Arguments

Name Input/Output Required? Type Comment
MaterialInfo Out List -

MLPStitching.GetRelatedDomain()

Signature

MLPStitching.GetRelatedDomain(Feature : Feature) : Feature

Arguments

Name Input/Output Required? Type Comment
Feature In Feature -

ReturnType

Feature

MLPStitching.SetMaterial()

Signature

MLPStitching.SetMaterial(MLPStitching : MLPStitching) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPStitching In MLPStitching -

ReturnType

Boolean

MLPStitching.SetMaterial()

Signature

MLPStitching.SetMaterial(MaterialReference : CATMatReference) : Boolean

Arguments

Name Input/Output Required? Type Comment
MaterialReference In CATMatReference -

ReturnType

Boolean

MLPTransformation.GetFoldTransfoTargetLayer()

This method retrieves the target layer of the current fold transformation.

Signature

MLPTransformation.GetFoldTransfoTargetLayer() : Feature

ReturnType

Feature

Example

let foldTransfoTarget(Feature)
foldTransfoTarget = foldTransfo->GetFoldTransfoTargetLayer()
Notify('The target layer is : #', foldTransfoTarget.Name )

MLPTransformation.IsFoldAboveTargetLayer()

This method allows you to know the position, Above or Below, of the target layer of the current fold transformation.

Signature

MLPTransformation.IsFoldAboveTargetLayer() : Boolean

ReturnType

Boolean

The method returns True if the fold of the fold transformation in input is above its target layer, and False otherwise.

Example

let isAbove(Boolean)
isAbove = foldTransfo->IsFoldAboveTargetLayer()
Notify('The fold layer is above its target : #', isAbove)

MLPTransformation.SetFoldTransfoTargetLayer()

This method allows you to define the position, Above or Below, and the target layer of the current Fold Transformation.

Signature

MLPTransformation.SetFoldTransfoTargetLayer(MLPLayerObject : MLPLayerObject, PositionOn : MLPEPositionOn) : Boolean

Arguments

Name Input/Output Required? Type Comment
MLPLayerObject In MLPLayerObject Corresponds to the target layer.
PositionOn In MLPEPositionOn Corresponds to the Above or Below option from the Fold Transformation command.

ReturnType

Boolean

The method returns True if the change of position is successful.

Example

let isSuccess(Boolean)
let position(MLPEPositionOn)
position = 'AboveLayer'
isSuccess = foldTransfo->SetFoldTransfoTargetLayer(targetLayer, position)
Notify('The target has been updated : #', isSuccess)