Sample
The following sample explains the business rule for defining space names for the space references.
let SpaceReferenceName(String)
let ConstructionElements(List)
let i(Integer)
let nbElements(Integer)
let Element(Feature)
SpaceReferenceName = ""
set ConstructionElements = Parameters.GetAttributeObject("ConstructionElements")
i = 1
nbElements = ConstructionElements.Size()
for i while i <= nbElements
{
set Element = ConstructionElements.GetItem(i)
if i < nbElements
SpaceReferenceName = SpaceReferenceName + Element.Name() + "_"
else
SpaceReferenceName = SpaceReferenceName + Element.Name()
}
Parameters.SetAttributeString("SpaceReferenceName", SpaceReferenceName)