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.

parameters to dimension command

Started by bdeck, October 08, 2015, 02:36:00 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

bdeck


What is the parameter within the Dimension command itself that sets D_ENABLEFIXEDTEXTPOS?

Also, what is the parameter within the Dimension command that sets D_TEXTMOVEMENT.

Thanks.

BD

DrollTroll

D_TEXTMOVEMENT is set by this parameter:
<TextMovement [n]  where n can be one of: 0 = dim line with text, 1 = add leader, 2 = no leader

Looking at the source code, it appears that:
D_ENABLEFIXEDTEXTPOS is set indirectly by the Text Movement setting -- if Text Movement is set to "Dim line with text", D_ENABLEFIXEDTEXTPOS is set to 1; otherwise it's set to zero.
If on the other hand you change D_ENABLEFIXEDTEXTPOS in code, setting it to 1 will change the dimension format to "No Leader"; not sure right this second whether it will affect the D_TEXTMOVEMENT setting right away or if you'll have to re-ENTITY the dimension to see the change.

I'd guess that D_ENABLEFIXEDTEXTPOS is an artifact of the dimension changes begun with version 18, and is probably obsolete at this point.
25 years with DesignCAD

bdeck