Hi Sergio,
Please confirm us whether your requirement is to get the start point and end point of the connector alone? If yes, please use TailEndPoint’s and Headpoint’s “Location” property to get the start and end points of the connector. If we misunderstood your requirement, please share us more information about your requirement probably a code example on how you are getting and saving the diagram’s Rectangle/Text nodes location on the DXF file in your environment, which will help us to analyze further and provide you a better solution.
Also refer to the below attached modified sample and code example:
Code example:
[VB]
Dim line As New LineConnector(New PointF(100, 100), New PointF(200, 100))
diagram1.Model.AppendChild(line)
Dim points As New Dictionary(Of String, PointF())()
For Each node As Node In diagram1.Model.Nodes
If TypeOf node Is ConnectorBase Then
Dim pts(1) As PointF
'Start point
pts(0) = (TryCast(node, ConnectorBase)).TailEndPoint.Location
'End point
pts(1) = (TryCast(node, ConnectorBase)).HeadEndPoint.Location
points.Add(node.Name, pts)
End If
Next node
Sample:
Regards,
Naganathan K G