With the intention to add US survey units ...
I get an error that I can't place when running Convert.js in debug mode.
Allready converting from mm to inch the code stumbles on:
Code: Select all
156 var s = entity.getDimscale(false);
<native>(false) at -1
<anonymous>(di = RDocumentInterface(0x128a13c8), fromUnit = 4, toUnit = 1) at scripts/Edit/ConvertUnit/ConvertUnit.js:156
<anonymous>() at scripts/Edit/ConvertUnit/ConvertUnit.js:58
<anonymous>(false) at scripts/Edit/ConvertUnit/ConvertUnit.js:250
<global>() at -1
Has it something to do with the recent change to dimStyle ?
Regards,
CVH