Hi Alex, try this - put in this script on a shortcut key:
script: /* Update angular dimension to arc length */ var crv_list = moi.geometryDatabase.getSelectedObjects().getCurves(); if ( crv_list.length == 1 ) { var dim_list = moi.geometryDatabase.getObjects().getAnnotations(); if ( dim_list.length > 0 ) { var crv = crv_list.item(0); var dim = dim_list.item( dim_list.length-1 ); dim.text = moi.ui.formatCoordinate( crv.getLength() ); } }
Then create an angular dimension on the arc, then select the arc and trigger the script, it will update the angular dimension's text to the arc's length.
- Michael
|