Zurück zu Willert.de

VBA/Java script to follow links

how to access or perform things by using the Rhapsody API (not how to use the UI)

VBA/Java script to follow links

Postby bitblit » February 21st, 2010, 10:39 pm

Does anybody have a sample script they can post that follows a behavioral port, through links and pass thru ports, to the end behavioral port? I can only get it half way before I run out of properties that have data that I'm looking for. And it seems really convoluted the way I had to write it. I'm using it to parse a drawing to generate a flat file with some analysis data.
Posts: 138
Joined: December 11th, 2008, 12:51 am

Re: VBA/Java script to follow links

Postby andyl » June 1st, 2010, 4:26 pm

You'll need to start at the link ...

(where l is a link/connector)
Set l = getSelectedElement
Set p = l.fromPort
Set p1 = l.toPort

Get Rhapsody Tips, Tricks, Tutorials, Wizards and Sample Models here:

Posts: 23
Joined: March 3rd, 2008, 5:12 pm
Location: UK

VBA/Java script to follow links

Postby TraAmany » November 5th, 2020, 9:13 pm

Hi Guys,
Thanks for your reply,

yes, Finally i am using DFDL to do this functionality. Now I m able to parse and convert copybook using DFDL, i had learned from you,

125.gif (3.88 KiB) Viewed 5867 times
User avatar
Posts: 1
Joined: October 26th, 2020, 4:04 pm
Location: Syria
Company: google

Return to Rhapsody API

Who is online

Users browsing this forum: No registered users and 1 guest