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

Beitragvon bitblit » Februar 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.
Beiträge: 138
Registriert: Dezember 11th, 2008, 12:51 am

Re: VBA/Java script to follow links

Beitragvon andyl » Juni 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:

Beiträge: 23
Registriert: März 3rd, 2008, 5:12 pm
Wohnort: UK

VBA/Java script to follow links

Beitragvon 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) 5465-mal betrachtet
Beiträge: 1
Registriert: Oktober 26th, 2020, 4:04 pm
Wohnort: Syria
Firma: google

Zurück zu Rhapsody API

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast