How to tell if a dimension uses the document template

Hi all

I have a history of plans over several years and as many draftsmen and scoring methods.

I find myself having to modify these old plans to update them and/or modify a number of things.

One thing in particular is wasting a lot of my time.

The display of dimension tolerances, format or accuracy.

To solve the problem, I would like all the dimensions to use the default size of the document.

I would like to make a macro that goes through all the dimensions (I know how to do that) and that ticks the box 'Use the size of the document' in the 'Other' tab and that also ticks the box 'Use the font of the document' (see attached image)

I can't find the parameters that allow it.

Can you help me?


utiliser_taille_et_police_du_document.png

Hello

Normally, Solidworks uses a Part Models reference file (*.prtdot ).

When you upload your files if they are linked to the prtdot (up to date) it takes the skin references, etc... of it. It's the same principle as in Word.

On the other hand, if the designer has forced the dimensions to the mano so that they are different from the document template, I doubt that a macro can do anything.

Kind regards

Hello

Look at settextformat: http://help.solidworks.com/2016/english/api/sldworksapi/SOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IAnnotation~ISetTextFormat.html

1 Like

Zozo_mp : Indeed these are modifications made to the mano.

That's why I would like them to stick with the document settings

Cyril.f : thank you for this information

I will try