BldModelerTypes (no NLS) Methods

This topic describes the methods you can use to automate detailed design of walls and openings.

This page discusses:

CATBldOpening.RefreshOpening()

Update all the openings inside the 3DShape or update an individual opening.

Signature

CATBldOpening.RefreshOpening() : List

ReturnType

List

Refresh Single Opening


Let Openingfeat(CATBldOpening)

OpeningFeat.RefreshOpening()

Refresh All Openings

Let ListOpenings(list)
Let i(Integer)
Let Opening (CATBldOpening)

i=1

let Shape(Feature)
Shape = Input3DShape
//Shape = `3D Shape00000002`
ListOpenings=Shape.Query("CATBldOpening","")

let j(Integer)
j=ListOpenings.Size()

Message("The number of openings are #", j )

For i while i<= ListOpenings.Size()
{
	Opening=ListOpenings.GetItem(i)
	Message("Opening Name is  #", Opening.Name() )
	
	Opening.RefreshOpening()
}

CATBldOpeningAutoSpaceReservation.RefreshOpeningAutoSpaceRes()

Signature

CATBldOpeningAutoSpaceReservation.RefreshOpeningAutoSpaceRes() : List

ReturnType

List

CATBldWall.GetConnectingElementsAtEnd()

Gives the number of connecting elements and their type at the end of the wall.

Signature

CATBldWall.GetConnectingElementsAtEnd(ConnectingFeats : List, FeatType : List) : Integer

Arguments

Name Input/Output Required? Type
ConnectingFeats Out List
FeatType Out List

ReturnType

Integer

Example

let WallConnectListEnd (List)
let WallEndConnectTypeList(List)
let NumEndConnects(Integer)

Notify("Number of Wall End Connects: ")
NumEndConnects = WallFeat.GetConnectingElementsAtEnd(WallConnectListEnd, WallEndConnectTypeList)
Notify(ToString(NumEndConnects))
Notify("Wall End Connects: ")
let myFeat2(Feature)
For myFeat2 inside WallConnectListEnd
{
	Notify(myFeat2.Name)
}

Notify("Wall End Connect Types: ")
let myEndFeatType(String)
For myEndFeatType inside WallEndConnectTypeList
{
	Notify(myEndFeatType)
}

CATBldWall.GetConnectingElementsAtStart()

Gives the number of connecting elements and their type at the start of the wall.

Signature

CATBldWall.GetConnectingElementsAtStart(ConnectingFeats : List, FeatType : List) : Integer

Arguments

Name Input/Output Required? Type
ConnectingFeats Out List
FeatType Out List

ReturnType

Integer

Example

let WallConnectListStart (List)
let WallStartConnectTypeList(List)
let NumStartConnects(Integer)

NumStartConnects = WallFeat.GetConnectingElementsAtStart(WallConnectListStart, WallStartConnectTypeList)
Notify("Number of Wall Start Connects: ")
Notify(ToString(NumStartConnects))
Notify("Wall Start Connects: ")
let myFeat1(Feature)
For myFeat1 inside WallConnectListStart
{
	Notify(myFeat1.Name)
}

Notify("Wall Start Connect Types: ")
let myStartFeatType(String)
For myStartFeatType inside WallStartConnectTypeList
{
	Notify(myStartFeatType)
}

CATBldWall.GetImpactingAECElements()

Gives the list of all the elements impacting the wall.

Signature

CATBldWall.GetImpactingAECElements() : List

ReturnType

List

Example

let WallOpeningList (List)
WallOpeningList = WallFeat.GetImpactingAECOpenings()

Notify("List of openings impacting wall:")
let myFeat1(Feature)
For myFeat1 inside WallOpeningList
{
	Notify(myFeat1.Name)
}

CATBldWall.GetImpactingAECOpenings()

Gives the list of all the openings impacting the wall.

Signature

CATBldWall.GetImpactingAECOpenings() : List

ReturnType

List

Example

let WallImpactingElementList (List)
WallImpactingElementList = WallFeat.GetImpactingAECElements()

Notify("List of elements impacting wall:")
let myFeat2(Feature)
For myFeat2 inside WallImpactingElementList
{
	Notify(myFeat2.Name)
}