Show messages:
1-12
…
513-532
533-552
553-572
573-575
From: Michael Gibson
Hi Larry,
re:
> Is the value of the decimal precision property preset (Options / Dimensions / Formatting / Decimal display)
> available for read access via the API anywhere? Thanks.
Yup, you can get a list of annotation presets using moi.geometryDatabase.getAnnotationPresets(); , and then each preset object has a whole bunch of properties on it:
presetName
presetIndex (read-only, position in preset list)
setFont() (function that will show font picker dialog)
fontName
fontPtSize
fontStyleName
fontWeight
fontStyle
fontUnderline
fontStrikeout
textDisplayMode
textAlign
scaleMode
height
textAnchor
textBoxOutline
textBoxOutlineWidth
textBoxOutlineWidthModelUnits
textBoxPaddingX
textBoxPaddingY
textBoxPaddingXModelUnits
textBoxPaddingYModelUnits
arrowheadType
arrowheadArrowLength
arrowheadArrowLengthModelUnits
arrowheadArrowWidthFactor
arrowheadOpenArrowLength
arrowheadOpenArrowLengthModelUnits
arrowheadOpenArrowWidthFactor
arrowheadTickLength
arrowheadTickLengthModelUnits
arrowheadTickLineWidth
arrowheadDotSize
arrowheadDotSizeModelUnits
arrowheadReverse
arrowPosition
outsideLineLength
outsideLineLengthModelUnits
outsideDrawLineAcross
extensionLength
extensionLengthModelUnits
extensionGap
extensionGapModelUnits
arrowLineExtension
arrowLineExtensionModelUnits
formattingDistanceDisplay
formattingFractionalPrecision
formattingDecimalPrecision
formattingDecimalShowTrailingZeros
radialDimensionRadialType
radialDimensionCrossSize
radialDimensionCrossSizeModelUnits
The one for Formatting > Decimal display is the formattingDecimalPrecision property, it can be an integer number from 0 to 7 for the number of decimal places to show.
- Michael
From: Larry Fahnoe (FAHNOE)
Awesome Michael, you've thought of everything!! I'll give it a whirl.
--Larry
Message 6925.575 was deleted
Show messages:
1-12
…
513-532
533-552
553-572
573-575