Concept Structure Property Methods

This page discusses:

CSELayer.AssignLayerOnSurface

This method assigns a surface to a Concept Structure Engineering layer.

Signature

CSELayer.AssignLayerOnSurface(Surface : Surface)

Arguments

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

Example

let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
let myLayer(CSELayer) 
myLayer = myPropSet->CreateLayer() 
let root(Feature) 
root = GetRootUI() 
let surf(Surface) 
[...] 
myLayer->AssignLayerOnSurface(surf)

CSELayer.RemoveConnection

This method removes the connection from a layer property (Concept Structure Engineering layer).

Signature

CSELayer.RemoveConnection()

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true)

Let myLayer(CSELayer) 
myLayer = myPropSet->CreateLayer() 
[...] myLayer->RemoveConnection()

CSELayer.SetCaptureDrivingLayers

This method defines a layer capturing.

Signature

CSELayer.SetCaptureDrivingLayers(DrivingLayers : List)

Arguments

Name Input/Output Required? Type Comment
DrivingLayers In List -

Example

let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
let myLayer(CSELayer) 
myLayer = myPropSet->CreateLayer() 
let drivingLayer1(CSELayer) 
drivingLayer1 = myPropSet->CreateLayer() 
let drivingLayer2(CSELayer) 
drivingLayer2= myPropSet->CreateLayer() 
let drivingLayerList(List) 
drivingLayerList.Append(drivingLayer1) 
drivingLayerList.Append(drivingLayer2) 
myLayer->SetCaptureDrivingLayers(drivingLayerList)

CSEMaterial.GetDensity

This method gets the density from a Concept Structure Engineering material.

Signature

CSEMaterial.GetDensity() : Real

ReturnType

Real

Example

root = GetRootUI() 
let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
Let myMaterial(CSEMaterial) 
set myMaterial = root->Access(…, CSEMaterial) 
let density(Real) 
density =myMaterial->GetDensity()

CSEMaterial.GetMaterialReference

This method gets the PLM material from a Concept Structure Engineering material.

Signature

CSEMaterial.GetMaterialReference() : CATMatReference

ReturnType

CATMatReference

Example

root = GetRootUI() 
let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
Let myMaterial(CSEMaterial) 
set myMaterial = root->Access(…, CSEMaterial) 
Let myMatReference(CATMatReference) 
myMatReference = myMaterial->GetMaterialReference()

CSEMaterial.SetMaterialReference

This method sets a material to a Concept Structure Engineering material.

Signature

CSEMaterial.SetMaterialReference(CATMatReference : CATMatReference)

Arguments

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

Example

root = GetRootUI() 
let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
Let CSEMat1(CSEMaterial) 
set CSEMat1 = root->Access(…, CSEMaterial) 
Let CSEMat2(CSEMaterial) 
set CSEMat2 = root->Access(…) 
Let myMatReference1(CATMatReference) 
myMatReference1 = CSEMat1->GetMaterialReference() 
CSEMat2->SetMaterialReference(myMatReference1)

CSEMeshImposition.AssignMeshImpositionOnLine

This method assigns a mesh imposition to a line.

Signature

CSEMeshImposition.AssignMeshImpositionOnLine(Line : Line)

Arguments

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

Example

let myPropSet(CSEPropertySet)
myPropSet = GetCSEPropertySet(true)
let myMeshImposition(CSEMeshImposition) 
myMeshImposition = myPropSet->CreateMeshImposition() 
let root(Feature) 
root = GetRootUI() 
let myLine(Line) 
[...] 
myMeshImposition->AssignMeshImpositionOnLine(myLine)

CSEMeshImposition.AssignMeshImpositionOnPoint

This method assigns a mesh imposition to a point.

Signature

CSEMeshImposition.AssignMeshImpositionOnPoint(Point : Point)

Arguments

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

Example

let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
let myMeshImposition(CSEMeshImposition) 
myMeshImposition = myPropSet->CreateMeshImposition() 
let root(Feature) 
root = GetRootUI() 
let myPoint(Point) 
[...] 
myMeshImposition->AssignMeshImpositionOnPoint(myPoint)

CSEMeshImposition.SetMeshImpositionSupports

This method assigns a list of Concept Structure Engineering layers and solids to the mesh imposition as imposed layers and solids.

Signature

CSEMeshImposition.SetMeshImpositionSupports(Supports : List)

Arguments

Name Input/Output Required? Type Comment
Supports In List -

Example

let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
let myMeshImposition(CSEMeshImposition) 
myMeshImposition = myPropSet->CreateMeshImposition() 
let imposedSupportList(List) 
let imposedLayer(CSELayer) 
imposedLayer = myPropSet->CreateLayer()
imposedSupportList.Append(imposedLayer)
let imposedSolid(CSESolid)
imposedSolid = myPropSet->CreateSolid()
imposedSupportList.Append(imposedSolid)
myMeshImposition->SetMeshImpositionSupports(imposedSupportList)

CSEPropertySet.CreateBolt

This method creates a Concept Structure Engineering bolt property, which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateBolt() : CSEBolt

ReturnType

CSEBolt

Example

let myPropSet(CSEPropertySet)
myPropSet = GetCSEPropertySet(true)

let myBolt(CSEBolt)
myBolt = myPropSet->CreateBolt()

myBolt.CouplingType ="Kinematic"

CSEPropertySet.CreateLayer

This method creates a Concept Structure Engineering layer, which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateLayer() : CSELayer

ReturnType

CSELayer

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true)

Let myLayer(CSELayer) 
myLayer = myPropSet->CreateLayer()

CSEPropertySet.CreateMaterial

This method creates a Concept Structure Engineering material, which you can also find in the tree under Properties. No material is stored when it is created.

Signature

CSEPropertySet.CreateMaterial() : CSEMaterial

ReturnType

CSEMaterial

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 

Let myMaterial(CSEMaterial) 
myMaterial = myPropSet->CreateMaterial()

CSEPropertySet.CreateMeshImposition

This method creates a mesh imposition property.

Signature

CSEPropertySet.CreateMeshImposition() : CSEMeshImposition

ReturnType

CSEMeshImposition

Example

let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true) 
let myMeshImposition(CSEMeshImposition) 
myMeshImposition = myPropSet->CreateMeshImposition()

CSEPropertySet.CreateSolid

This method creates a Concept Structure Engineering solid property, which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateSolid() : CSESolid

ReturnType

CSESolid

Example

myPropSet = GetCSEPropertySet(true)

let CSEMat(CSEMaterial)
set CSEMat = …

let mySolid(CSESolid)
mySolid = myPropSet->CreateSolid()

mySolid.MeshSize = 10mm
mySolid.Material = CSEMat

CSEPropertySet.CreateLineFastener

This method creates a Concept Structure Engineering line fastener (connection), which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateLineFastener() : CSELineFastener

ReturnType

CSELineFastener

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true)

Let myLineFast(CSELineFastener) 
myLineFast = myPropSet->CreateLineFastener()

CSEPropertySet.CreatePointFastener

This method creates a Concept Structure Engineering point fastener (connection), which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreatePointFastener() : CSEPointFastener

ReturnType

CSEPointFastener

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true)

Let myPointFast(CSEPointFastener) 
myPointFast = myPropSet->CreatePointFastener()

CSEPropertySet.CreateSurfaceFastener

This method creates a Concept Structure Engineering surface fastener (connection), which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateSurfaceFastener() : CSESurfaceFastener

ReturnType

CSESurfaceFastener

Example

Let myPropSet(CSEPropertySet) 
myPropSet = GetCSEPropertySet(true)

Let mySurfaceFast(CSESurfaceFastener) 
mySurfaceFast = myPropSet->CreateSurfaceFastener()

CSEPropertySet.CreateUserConnectionLine

This method creates a Concept Structure Engineering user connection along a curve, which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateUserConnectionLine(Line : LineLine) : CSEUserConnectionLine

Arguments

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

ReturnType

CSEUserConnectionLine

Example

let root(Feature)
root = GetRootUI()

let myPropSet(CSEPropertySet)
myPropSet = GetCSEPropertySet(true)

let myUserConLine(CSEUserConnectionLine)
let myLine(Line)
myLine =  …
myUserConLine = myPropSet->CreateUserConnectionLine(myLine)

CSEPropertySet.CreateUserConnectionPoints

This method creates a Concept Structure Engineering user connection at multiple points, which you can also find in the tree under Properties. You can then define parameters.

Signature

CSEPropertySet.CreateUserConnectionPoints(Points : List) : CSEUserConnectionPoints

Arguments

Name Input/Output Required? Type Comment
Points In List -

ReturnType

CSEUserConnectionPoints

Example

let root(Feature)
root = GetRootUI()

let myPropSet(CSEPropertySet)
myPropSet = GetCSEPropertySet(true)

let myPoints(List)
let myPoint1(Point)
let myPoint2(Point)
let myPoint3(Point)
myPoint1=   …
myPoint2=   …
myPoint3=   …
myPoints->Append(myPoint1)
myPoints->Append(myPoint2)
myPoints->Append(myPoint3)

let myUserConPoint(CSEUserConnectionPoints)
myUserConPoint = myPropSet->CreateUserConnectionPoints(myPoints)

CSESolid.AssignSolidOnBody

This method assigns solid properties to bodies inside modules that contain solid geometries..

Signature

CSESolid.AssignSolidOnBody(Body : Body)

Arguments

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

Example

let myPropSet(CSEPropertySet)
myPropSet= GetCSEPropertySet(true)

let myBody(Body)
myBody= …

let mySolidProp1(CSESolid)
mySolidProp1=myPropSet->CreateSolid()
mySolidProp1->SetAttributeString("Name", "EKLSolid")

mySolidProp1->AssignSolidOnBody(myBody)