1
Automation Interface, Add-Ins and Tools / Why would connector DiagramID always be 0?
« on: April 10, 2014, 06:25:38 am »
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?
Here is a sample of the output.
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