1
Automation Interface, Add-Ins and Tools / Re: Issues with GUID of onnectors / relationships
« on: June 17, 2025, 04:29:07 am »@Geert, I got yours to work. But I had to change c.connectorID into c.connector_ID.
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.
SELECT * FROM t_diagramlinks -> t_diagramlinks does not have a Connector_lD, use Instance_ID instead
SELECT * FROM t_connector -> t_connector does not have a ConnectorID, but a Connector_ID instead
SELECT d.ea_guid AS DiagramName
FROM ((t_diagramlinks dl
JOIN t_diagram d ON dl.DiagramID = d.Diagram_ID)
join t_connector c on c.Connector_ID = dl.Instance_ID)
WHERE c.ea_guid = '{BEFFA34C-4A29-46d0-AE21-96723A6FEC29}'
The Diagram.SelectedConnector might help you.
diagram.SelectedConnector = connector;
diagram.Update();
SELECT d.ea_guid AS DiagramName
FROM t_diagramlinks dl
JOIN t_diagram d ON dl.DiagramID = d.Diagram_ID
WHERE dl.ConnectorID = (SELECT ConnectorID FROM t_connector WHERE ea_guid = '<GUID>');
My bad, Geert. Works for MariaDB now. Have to check for JET now. Thank you.
Yes, I've been caught by that kind of "discrepancy" before. Can you see any rationale for this? (not blaming Sparx, just observing anomaly in the standard)
Paolo
The branch cloned for V3 has the problems with cloning links from previous versions.
There are no links between blocks of different packages.
Is there a way to fix this?