General InformationThis opening ID is invoked while creating space cell references. This opening ID is used to customize space cell names for the space cell 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 SpaceCellName(String)
let ConstructionElements(List)
let i(Integer)
let nbElements(Integer)
let Element(Feature)
SpaceCellName = ""
set ConstructionElements = Parameters.GetAttributeObject("ConstructionElements")
i = 1
nbElements = ConstructionElements.Size()
for i while i <= nbElements
{
set Element = ConstructionElements.GetItem(i)
if i < nbElements
SpaceCellName = SpaceCellName + Element.Name() + "_"
else
SpaceCellName = SpaceCellName + Element.Name()
}
Parameters.SetAttributeString("SpaceCellName", SpaceCellName)
| |||||||||||||