Piping 2D Report Frame location & other symbolAttributes
//LogicalOccurrence - string
let X (String)
let Y (String)
Let LogInstance(PLMCoreInstance)
Let ListOfSheets(List)
Let ListOfViews(List)
Let ListOfSymbolInfos(List)
Set LogInstance = ThisObject.Instance
GetSchSymbolInformations(LogInstance, ListOfSheets, ListOfViews, ListOfSymbolInfos)
Let j = 1
Let jsize = 0
Let DisplayMessage(String)
jsize = ListOfSymbolInfos->Size()
if(ListOfSheets->Size() == jsize and ListOfViews->Size() == jsize)
{
for j while j<=jsize
{
// set DisplayMessage =""
Let Sheet(DIFSheet)
Let SheetInstance(DIFSheetInstance)
Let View(DIFViewInstance)
Let SymbolInfo(Feature)
Let ListofZone(List)
set Sheet = ListOfSheets.GetItem(j)
set SheetInstance = ListOfSheets.GetItem(j)
set View = ListOfViews.GetItem(j)
set SymbolInfo = ListOfSymbolInfos.GetItem(j)
set ListofZone = SymbolInfo.GetAttributeObject("SymbolInstance_ZoneNamesList")
if((SheetInstance <> NULL or Sheet <> NULL) and View <> NULL and SymbolInfo <> NULL)
{
X=SymbolInfo.GetAttributeString("SymbolInstance_PositionX_InFrame")
Y=SymbolInfo.GetAttributeString("SymbolInstance_PositionY_InFrame")
Attribute=X + "," + Y
//Get Sheet Ref Name | Instance Name | View Name
/*
let SheetName (String)
let SheetInstName (String)
let ViewName (String)
set Sheet = SheetInstance.Reference
set SheetName=Sheet.Name
set SheetInstName= SheetInstance.Name
set ViewName= View.Name
Attribute=SheetName + "|" + SheetInstName + "|" + ViewName
*/