How to retrieve all frames in a component?
Hy,
you could write a recursive method which returns a list of filtered vcFeature (in your case VC_FRAME)
Regards
I currently have no idea about the method you mentioned. Also, is there a method with a search behavior similar to “findBehavioursByType”?
The first thing you need to know is that the frame itself is also a kind of features, in vcHelpers.Selection module there is a getAllComponentsFeatures, you can use it to get the list of features of the whole simulation world, and then go to pick one of the VC_FRAME. ![]()
2 Likes
Thank you very much for your answer. I’ll give it a try
Hy,
good hint, I wrote my own method for it… ![]()
Regards
1 Like