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.

help with dimension text

Started by Mark Laing, April 23, 2008, 04:07:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mark Laing

What's it called when the text in a dimension is considerably above the arrows in a dimension? Can I set that distance to zero in a macro? Without a macro, I can just set the two points to measure and then one to place the text, but I can't get that to work in  a macro. Also, now I have a leader to the arrows when there's not enough room, and I used to just not have arrows at all. Can I make the arrows go away when there's not enough room? This is all quite frustrating for me.

user since Oklahoma, and the recipes in the newsletters.

prl


Mark Laing

That code is going to take a little bit of looking at.

Rob S


Mark

Is there something in particular you would like to accomplish?

The way this macro works is that it accepts 2 inputs, one is text size, and another is dimension format.

It calculates all the proportions as per hard coded factors in the second section of the Macro.

It then uses the >null  parameter to pre-set the size parameters and formats for all dimension types proportionally to the text size  without actually drawing a dimension.

Some parameters are hard-coded and can be edited individually, and some parameters are commented out, so that the users settings for these are retained.

The way to find out all possible parameters and their syntax is to record a new macro while drawing the applicable type of dimension.
User since forever