Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Aric Rohner

Pages: [1]
1
Anyone know why the connector DiagramID always has a value of 0 in the following function?  Is there an alternative way to find out what diagram a connector is shown on?

Code: [Select]
function describeConnector( cnxn ) {
      
     var cnxn as EA.Connector;
     Session.Output( cnxn.ID + ", " + cnxn.Stereotype + ", " + cnxn.DiagramID );
}

Here is a sample of the output.
Code: [Select]
ConnectorID=1932, Stereotype=RDA_Includes1..1, DiagramID=0      
ConnectorID=1954, Stereotype=RDA_RefersTo, DiagramID=0      
ConnectorID=1948, Stereotype=RDA_Includes0..1, DiagramID=0      

Pages: [1]