@iBlachu wrote:
And is it possible to read the size of the dimension text in the same way as the following example?
(if (setq ss (ssget '((0 . "DIMENSION"))))
(command "_.dimoverride" "DIMSE1" "_off" "DIMSE2" "_off" "" ss "")
)
No. That's an editing command that can only impose properties. The one command that can read properties of things is LIST, but for a Dimension its returned information doesn't include the Text height.
Besides, that code can work with a selection set of multiple Dimensions, since a property like suppression of an extension line can be imposed on more than one Dimension together. What would you want from such a set by way of reading their Text height, if that might vary?
Your contention in Message 3, if as it seems it's in response to @ВeekeeCZ 's (dumpallproperties) suggestion rather than DXF code information, is incorrect -- see the appropriate property in Message 5.
But you are correct about DXF information -- it's quite unexpected that it does not seem to include the Text height. If the Text Style used has a fixed height, you could get it from that. I haven't been able to find where it is stored.
Kent Cooper, AIA