Show messages:
1
…
502-521
522-541
542-561
562-575
From: fcwilt
Hi,
Currently the IncrementalSave feature (which I use all the time) adds a two digit suffix.
Could there be a way to specify the number of digits, say 3 or 4?
Perhaps some entry in the .INI file?
Thanks much.
Frederick
From: bemfarmer
First save as ...99 :-)
- Brian
From: Michael Gibson
Hi Frederick, yes like Brian writes above the IncrementalSave is not limited to only do 2 digits, it will go up to as many digits as you need.
The only part about 2 digits is that it adds a 0 padding in front if it would otherwise only be making a single digit.
One thing that I could do to make the zero padding more flexible would be to pay attention to any zero padding in the current filename and make sure to maintain it. So that way if you wanted 4 digits you could name your current file file_0001.3dm and then it would make file_0002.3dm, etc... - no ini setting required with this method.
- Michael
From: fcwilt
Hi Michael,
My bad - I wrongly assumed that seeing 01, 02, 03 that it was limited to 2 digits.
So could you have an entry in the INI file that specified the format of the suffix?
Nothing fancy, perhaps just allowing for letters and a place holder character for the digits.
For example an entry of " v0000" would append " v0001" , " v0002 ", " v0003", etc (without the quotes of course).
But your idea of using the end of the first file name I create would work as well - but it requires me to remember to do it - which, at my age, may or may not happen. ;)
Thanks.
Frederick
From: Michael Gibson
Hi Frederick, I've set it up using the method of preserving existing padding.
> But your idea of using the end of the first file name I create would work as well - but it
> requires me to remember to do it - which, at my age, may or may not happen. ;)
If you forget there isn't much consequence, it will still save.
- Michael
From: fcwilt
Hi Michael,
So if I create the first file and it ends in " v0001" the next incremental save would end in " v0002"?
Frederick
From: Michael Gibson
Hi Frederick,
re:
> So if I create the first file and it ends in " v0001" the next incremental save would end in " v0002"?
Yes, in the next v4 beta that's how it will work.
- Michael
From: fcwilt
I am now a happy camper!
Thanks much.
Frederick
From: Mindset (IGNITER)
Hello Michael,
Hmm... Maybe I missed something.
Does the Detail button not provide the opportunity to copy the value of a Dimension?
Image Attachments:
Dimension_Details.png
From: Larry Fahnoe (FAHNOE)
Hi Michael,
Is the value of the decimal precision property preset (Options / Dimensions / Formatting / Decimal display) available for read access via the API anywhere? Thanks.
--Larry
From: Michael Gibson
Hi Mindset, re:
> Hmm... Maybe I missed something.
> Does the Detail button not provide the opportunity to copy the value of a Dimension?
It does not, but that is a good idea to put in.
- Michael
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
…
502-521
522-541
542-561
562-575