Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Reading coordinates - vba

$
0
0
Hi Vinoth,

how coordinates are stored and how they are displayed are two different things. VBA API (in fact all MicroStation APIs regardless of language) works with master units (double). If the coordinate readout is set to use miles and inches, the conversion is done when the coordinates are displayed, not when they are stored.

I have no inches-based design file right now available (living in metric world ;-), so I cannot test it, but you can try to use DoubleToWorkingUnits method, which by its description seems to do the required conversion.

With regards,

Jan

Viewing all articles
Browse latest Browse all 7260


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>