Hello
I would like to get all the references in a panel through scripting.
For this I tried to use getshapes with attribute "panelFileName" which seems to be typical for a reference.
But unfortunately it returns me 0 shapes when trying to use "*" as pattern to get all the ref.
So I tried to do this:
getValue("myRef","panelFileName", test) where test is a string. So test returns me the correct value.
After this I also tested :
getShapes(myModuleName,myPanelName, "panelFileName" , test) where test is the previously gotten value.
Still returns 0 shape...
Has someone find a way to do this? Just want to have a list of all the references in a panel, whatever the way you use.
Thanks in advance
Regards
Alexandre
List all references in a panel
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: List all references in a panel
Hello,
I also could not find a CTRL-function which returns this information.
When you are not using dynamically added references (addSymbol) then you can parse the oanel file to get the references.
What is this information used?
Best Regards
Leopold Knipp
Senior Support Specialist
I also could not find a CTRL-function which returns this information.
When you are not using dynamically added references (addSymbol) then you can parse the oanel file to get the references.
What is this information used?
Best Regards
Leopold Knipp
Senior Support Specialist