MoI discussion forum
MoI discussion forum

Full Version: V4 Wish List

Show messages:  1  …  502-521  522-541  542-561  562-574

From: fcwilt
20 Oct 2020   [#562]
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
20 Oct 2020   [#563] In reply to [#562]
First save as ...99 :-)
- Brian
From: Michael Gibson
21 Oct 2020   [#564] In reply to [#562]
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
21 Oct 2020   [#565] In reply to [#564]
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
21 Oct 2020   [#566] In reply to [#565]
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
21 Oct 2020   [#567] In reply to [#566]
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
21 Oct 2020   [#568] In reply to [#567]
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
21 Oct 2020   [#569] In reply to [#568]
I am now a happy camper!

Thanks much.

Frederick
From: Mindset (IGNITER)
22 Oct 2020   [#570]
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)
22 Oct 2020   [#571]
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
22 Oct 2020   [#572] In reply to [#570]
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
22 Oct 2020   [#573] In reply to [#571]
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)
22 Oct 2020   [#574] In reply to [#573]
Awesome Michael, you've thought of everything!! I'll give it a whirl.

--Larry

Show messages:  1  …  502-521  522-541  542-561  562-574