Topic
  • 1 reply
  • Latest Post - ‏2013-09-17T07:38:11Z by payf
payf
payf
3 Posts

Pinned topic iterate over Objects

‏2013-09-02T16:06:19Z | block rpe sysml

Hello,

I am stuck with a supposedly easy problem: need to recurse over nested blocks. does have somebody an example for it? so far I haven't found any clue.

I have this structure in rhapsody:

root->Package->Object->Object->Object->Object->... (quite easy)

I want to iterate over each Object and get for example its name and description.

I am attaching my current template as screenshot.

it is only getting the objects at first level...

Projects/Packages/Package/Objects/Object/NestedElements/ModelElement(Object) is not being recognized

what is wrong there?

thanks for any help in advance.

Regards,

Pablo

 

 

Attachments

Updated on 2013-09-02T16:47:58Z at 2013-09-02T16:47:58Z by payf
  • payf
    payf
    3 Posts

    Re: iterate over Objects

    ‏2013-09-17T07:38:11Z  

    Hello,

    has someone an idea has to solve it? it seems to be a basic question but I haven't managed it. all working examples I have are based on a package structure but I haven't managed to get reporting based on a class structure.

     

    thanks for any information!

     

    Pablo