TheSwamp
Code Red => .NET => Topic started by: Jeff H on August 25, 2011, 03:07:27 AM
-
Does'nt AutoCAD .NET API provide a unit coversion?
If the drawing is already set Arch and inches and you get back for example 1645.33800798796
Does the API have built in functions to convert that in feet-inches format or do you have to write your own?
I thought it did but cannot find it.
-
I think the Autodesk.AutoCAD.Runtime.Converter class has that functionality.
-
Thaks Seant,
I thought that was it and tried it but it was not working and after your reply I went back and looked closer and
noticed I was using
Converter.StringToDistance
instead of
Converter.DistanceToString
Thanks for putting me back on the right track.