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

Reading coordinates - vba

$
0
0

in my design file settings:

Format is MU:SU:PU

master unit: Miles

Sub Units: Yards

Accuracy: 1/8

below image is of the information from cell property;

But while taking the coordinates thru vba : Debug.Print "x= " & .Origin.x, "y= " & .Origin.Y

the output is   x= 5.81027182504176E-02     y= 5.68806700121292E-02

(please note the difference in x, y values)

How can i get the x and y output as exactly like in property view ?

many thanks.

vinoth


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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