General InformationThis opening ID is invoked while creating space references. This opening ID is used to customize space names for the space references. The table below provides you with information related to the definition of the Opening ID.
Input ObjectsInput objects must be of the following types:
SampleThe 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) | |||||||||||||