.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Distanceto and Getdistance Units

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Ron_M
372 Views, 2 Replies

Distanceto and Getdistance Units

Using either the Distanceto or Getdistance methods returns only decimal values.  This is true regardless of the drawing units.  Is there a conversion for this to feet-inches?

2 REPLIES 2
Message 2 of 3
_gile
in reply to: Ron_M

Hi,

 

The type of the value returned by these functions is Double.

Have a look at the Autodesk.AutoCAD.Runtime.Converter.DistanceToString() static method (shared in VB).



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 3
Ron_M
in reply to: _gile

That did the trick.  Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost