RHAPSODY4YOU

--Independent Rational Rhapsody Forum--
It is currently Tue Sep 07, 2010 7:52 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: VBA/Java script to follow links
PostPosted: Sun Feb 21, 2010 8:39 pm 
Offline

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 127
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.


Top
 Profile  
 
 
 Post subject: Re: VBA/Java script to follow links
PostPosted: Tue Jun 01, 2010 2:26 pm 
Offline

Joined: Mon Mar 03, 2008 3:12 pm
Posts: 9
Location: UK
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

Cheers
Andy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: