Sorry, I was very busy on DevDays.
I struggled to reproduce your problem, however it is hard without reproducible sample. Could you provide a small source code? In addition, have you debugged to check the error message is due to the line of GetPreciseStringFromValue. Or could you create a smallest test function to run UnitsOfMeasure.GetPreciseStringFromValue(oView.Sca
SORRY REALLY REALLY BUSY TOO
IT'S REALLY NECESSARY TO DELETE AND INSERT THE TITLEBLOCK???
THANKS AGAIN FOR YOUR HELP
You should change like below. It works for me under 2013 @ win 7 -32bit.
sPromptStrings(0) = "SCALE " & oDoc.UnitsOfMeasure.GetPreciseStringFromValue(oVie
But it adds an "In" at the end and looks strange.
Be aware, the scale value itself is UNIT-LESS. If you write like A:B, it is fine. You can convert A and B seperately.
If it is only a ratio value, there is no point to have a conversion.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register