News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Fixed Dimensions

Started by Guynmt, December 31, 2014, 05:55:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
JJG
Thanks for that. If works great.
I found I had to use "regenerate"  (or "redraw") rather than "regen",  (V22.1)
I enclose your macro as an attachment.

PS
What would be a minor improvement is if the size of text - including dimension text, and also dimension lines - was also scaled. (?)

I'm guessing that this would be a nightmare if you had linear dimensions and radius dimensions all with their own "text scale" (other than "same as normal text")

But maybe(?) if all dimensions had  Dimension\Text\Text Size = "same as normal text", then you would end up with constant text size for details as well as larger views?

Note to self :- I need to research and better understand text sizing in dimensions. (sheesh).

PS, when I said I explode dimensions in details, I arrived at this method because it achieved the same text size (and dimension leaders etc) for all dimensions across the completed drawing ( 2 cents), viz :-
QuoteI also explode dimensions (combined with zooming in, reducing the size of text size of dimensions, adding all dimensions, explode, and scale the entire detail up).

But it would be great to know if your macro could be twigged to achieve this more "professionally".
Cheers

samdavo

#16
Quote from: samdavo on January 03, 2015, 03:26:34 PM
Note to self :- I need to research and better understand text sizing in dimensions. (sheesh).
prl posted some notes on using this method of sizing dimensions once (using "same as normal text"  - must find it again

PR or this one from Phil R ...  reply #51
http://forum.designcad.com/index.php?topic=5490.msg38221#msg38221.

samdavo

#17
In case you don't follow my (minor) criticism of JJG's macro, - or rather suggested improvement ...

Here is an example of what I can do with copying a section (which has dimension text size 20)

and scaling dimensions down (using ONLY "text size" = 5 - which changes offsets and extensions accordingly)

and exploding - and running Fix3Dtext.d3m

and scaling everything up by 4X

and trimming ...

You will note that dimension text AND leaders and offsets etc are all consistent.

(edit) As I see it, you can't easily do this with JJG's macro (but I'll happily be corrected on that score).
i.e. If you try to change JJG's dimension by changing "text size" in Infobox - RETROSPECTIVE TO RUNNING THE MACRO - you change text size, but you don't change dimension lines, gaps, extensions etc (2 cents)

cheers
sam

JJG

Sam,

feel free to do the change(s) you want !

Each one can use the presentation he likes, so this macro is write in the way I work.
But everyone feel free to adapt it to his personal need.

This is a good sample of the power of basicad !

samdavo

#19
Thanks JJG
no biggie
:)
Plenty of ways around that perceived problem - eg if one uses your macro to do the initial scaling,  and THEN add dimensions (with scaling factor), you get around any problems.    Also you can use "same as" to dimensions at any stage of the process (with appropriate care).

PS One more quick comment.   The Hatch pattern(s)  WIN-FWDIAGONAL and BKDIAGONAL don't require scaling up or down ( although I concede that other hatch patterns do) - 2 cents.

cheers
sam