General InformationThis opening ID is used to display architecture components attributes in Data Information Panel for the linked logical objects.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
Display Architecture NumberThe following sample returns the architecture number attribute of the architecture component when called from the Piping & Tubing Systems Design app.
let appName(String)
set appName = Parameters.GetAttributeString("Input_AppName")
let OutputAttrNames(List)
set OutputAttrNames = ThisObject.ListAttributeNames("",false)
let attr(String)
let itemAttr(List)
for attr inside OutputAttrNames
{
if(appName == "CATPLEditorLiveWorkbench" and attr == "V_ArchitectureNumber")
{
itemAttr.Append(attr)
}
}
Parameters.SetAttributeObject("Output_AttrNames", itemAttr)
| |||||||||||||||||||||||||||||||