Author Topic: parameters to dimension command  (Read 447 times)

bdeck

  • Hero Member
  • *****
  • Posts: 785
parameters to dimension command
« on: October 08, 2015, 02:36:00 AM »

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

  • Kindly Curmudgeon
  • Administrator
  • *****
  • Posts: 4121
Re: parameters to dimension command
« Reply #1 on: October 08, 2015, 07:35:08 AM »
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.
2016 marks my 24th year in DesignCAD-Land!

bdeck

  • Hero Member
  • *****
  • Posts: 785
Re: parameters to dimension command
« Reply #2 on: October 08, 2015, 12:51:01 PM »
DT,
Very helpful info. Thanks,
BD