The Structure Tree - How to traverse

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

The Structure Tree - How to traverse

Postby johnny.morgan@siemens.com » Tue Nov 15, 2022 12:00 pm

In Cameo Systems Modeler 19, I am aware of the "Containment" tree and how to use java to traverse the structure.
But, for the "Structure" (panel) tree, I do not see how to traverse the structure using java.
I attempted to use the "Browser browser = proj.getBrowser();" then use getTree().
But, when attempting to get the deep level children of any node in the Structure Tree, it does not appear to work.

Would you show me how this can be done?

Thanks,

Johnny
johnny.morgan@siemens.com
Forum Newbie
Forum Newbie
 
Posts: 6
Posts Rating:0
Joined: Tue Oct 27, 2020 5:48 pm

Re: The Structure Tree - How to traverse

Postby nuorodos2@gmail.com » Tue Jan 03, 2023 9:48 am

johnny.morgan@siemens.com wrote:Would you show me how this can be done? roller blinds

Hi,

Did you have any luck solving this?

Thanks
nuorodos2@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Tue Jan 03, 2023 9:45 am


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests