Logging or getting xy coordinates from the dgn file
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Logging or getting xy coordinates from the dgn file
I am writing ecmascript to export the dgn file to svg file and it is exporting correctly. I would also want to get the xy coordinates of the starting point of the file image to be logged. Is there any method to extract the information from the dgn file. I have attached the image. I do want to get the xy coordinates from the arrow pointing to red cross through ecma script.
- Attachments
-
- xycoordinates.jpg (92.32 KiB) Viewed 3324 times
Re: Logging or getting xy coordinates from the dgn file
It looks to me like that position would by definition always be 0/0. Please provide more information on what defines this point if that is not the case.
Re: Logging or getting xy coordinates from the dgn file
Hi Thanks for the reply. Is there any way through ecmascript we could find the coordinates or the infoposition and infopositionrel of the loaded object.