Using CAcUiNumericEdit – Is it possible to enter values in feet & inches and get the data back in inches?

By Philippe Leefsma

Q:

Using CAcUiNumericEdit it’s easy to enter feet and inches into the editbox, but I also get feet and inches as my return value… How can I convert from feet and inches to inches?

A:

To convert from feet and inches to a decimal value you can use acdbDisToF API


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading