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.

Drawing Dimensions in v17 and v18

Started by sladden, October 11, 2007, 06:10:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sladden

In all the old DesignCAD versions - from 1 to 13, I'm not sure after that - the default size for a dimension arrow (1) automatically changes in size to match dimension size. If I changed the dimension text size from 1 to 10 then the arrow automaticaly draws to match the text.
Now in v17 & v18 the default arrow size number is still 1. But that 1 is only correct if the dimension text size is 1. If I want to dimension using a text size of 10 then I must also change the arrow size to 10. If I dont do that then the dimension arrows are 10 times too small.
Is there a way that I can set it up to avoid doing the extra - click/type/click - that now seems to have come into DesignCAD dimensions.
One of the ways that I have allways pulled AutoCAD and other people over to DesignCAD. Is by showing how many more clicks they have to do when compared to me.
Are we slowly getting slower to meet them getting faster?
Regards.
Dave

Bob P

This is a known issue.

This macro will scale your arrowhead in proportion to the dimension text size and run >dimension.

Adjust the size factor to your preference.

---------------------------------------

dim2.d3m

'Make arrowhead proportional to text size

sys(462)=1.2*sys(438) 'Arrowhead size = 1.2 x text size
>dim
{
}

---------------------------------------

sladden

I know I can proportion them but in the old days DesignCAD did it for me automaticaly. I do different details on the same screen at the same time. The different details will be printed at different scales on to the same piece of paper at the same time. I do not dimension as dimension, I dimension as text. So different dimensions on different details on the same drawing will have different size text 1:10=25, 1:100=250 etc. Now I have to change the arrow as well as the text from detail to detail.

Bob P

If you use the macro instead of the dimension command, the arrowhead size will automatically follow the text size.  Just run it from the command line or make a button.

Here's the macro modified to use "dimension as text":

------------------------------------

'Make arrowhead proportional to text

dats=sys(102)  'store status of dimension as text
sys(102)=1 'Change to dimension as text
sys(462)=1.2*sys(438) 'Arrowhead size = 1.2 x text size
>dim
{
}
sys(102)=dats  'Restore status
end

---------------------------------

sladden

Thankyou Bob. Now I have some studying to do. Allthough I have allways known about Macro's, I have only ever tried it for recreating a detail into the same or different drawings. I have allways come to the conclusion that creating my own symbol folders is more practical because the files from a symbol folder are accessable from any DesignCAD program in any computer at any time.
I have never tried typing in comands (I shall feel like an old dos man  :P) and at the moment don't know how to do it. Oh well, it is good to learn. I still don't understand why it was removed from DesignCAD though.

Bob P

IMHO, command line macros (and shortened command names) are what makes DC great.  ;D  It helps if you're a touch-typer but that's really not required.

Save the above macro to a text file named d.d3m extension and put in the macro folder.  (See the list of file locations in Preferences.)

Pressing the spacebar brings up the command line.

Type the name of the macro. ("d" without the quotes)

Hit Enter.  Voila!!!




sladden

Thanks Paul
I went by your guidance and you are right. The arrow's now follow the text size. Thank you. ;D
I still think the programmers were foolish to remove it. ???
Regards.
Dave