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.

Dimension editing without infobox.

Started by bdeck, December 26, 2006, 07:02:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

NOTE: This macro is for DC versions  14-17.2   only.

Tweak9.bsx allows rapid keyboard editing of dimensions without the info box.

Here's the link to an updated version that's a little faster and more stable.

http://cadsavant.com/nogo/dc/tweak.zip

It works best if the original dimension is drawn using the @ command with text centered on dimension line between the  extension lines. Draw all dimensions in that style and then edit them to any style possible, and some not possible in DC.

Select a dimension, run the macro from a hotkey  (I use <`>, just below the esc key).

Key Commands:

arrow keys move text   (also z,x,c,v,b keys)
Space bar toggles arrow position    (also "a" key)

q,w change text size
e  walks through precision
r  walks through 3 rotations
t  walks through all 8 rotations
f walks through all formats

s,d adjust space between arrow tail and text
g,h adjust gap from extension lines to object
n,m adjust minimum tail length for arrows outside ext lines.

ESC, CR, or mouse click to exit macro

****  Bug fixes ***************************************************'

Tweak8 fixes some problems with previous versions.
Erratic behaviour with vector fonts fixed.
Screen regens eliminated to improve speed.
Funky DC redraws of altered dims fixed by adding missing update instruction.
Myriad other stuff.

Tweak9 now works with all versions from DC14 to DC 17.2.

Please advise with as much detail as possible of any defects.
I know they're in there.

Mouse Driven version is a ways off. Let me know if there's interest.

Regards,

BD

bdeck

#1
Here's the link to an updated version that fixes a 3D redraw bug and a calc problem in early DC versions.

http://cadsavant.com/nogo/dc/tweak.zip

Tweak9 works on linear, baseline, and extended dimensions with all versions from DC14 to DC 17.2.

Tweak9 changes "^2" to "sqr" to eliminate errors from squareing negative arguments in earlier versions of DC.

Also fixes z axis transpo error to eliminate 3d redraw error.

Version 9b improves editing of baseline and extended dimensions and dims with  offaxis text.

It works best if the original dimension is drawn using with the text centered on dimension line between the  extension lines. Draw all dimensions in that style and then edit them to any style possible, and some not possible in DC.

Select a dimension, run the macro from a hotkey  (I use <`>, just below the esc key).

Mouse Driven version is a ways off. Let me know if there's interest.

Regards,

BD