[kepler-dev] getting links from a compositeEntity

Michael J Wirthlin wirthlin at ee.byu.edu
Wed Feb 15 15:16:23 PST 2006

I use the List CompositeEntity.relationList() method to obtain the 
relations within a CompositeEntity. Once I have a relation from this 
list, I iterate over the ports linked to the relation using the 

Chad Berkley wrote:
> Hi,
> I'm trying to find a programatic way to access the links that are 
> contained in a composite.  The only method I see that kind of does this 
> is CompositeEntity.exportLinks() which just returns a string moml 
> description of the links, but no objects.  Is there a way to get an 
> object representation of links?
> thanks,
> chad
> ---------------------------------------------------------------------------- 
> Posted to the ptolemy-hackers mailing list.  Please send administrative
> mail for this list to: ptolemy-hackers-request at ptolemy.eecs.berkeley.edu

Michael J. Wirthlin
Associate Professor
Electrical and Computer Engineering  Voice: (801) 422-7601
Brigham Young University             Fax:   (801) 422-0201
459 Clyde Building                   Email: wirthlin at ee.byu.edu
Provo, UT 84602                      www.ee.byu.edu/faculty/wirthlin

More information about the Kepler-dev mailing list