Decimal value no longer displays when creating fractional dimensions
Previous version (11.2~) showed decimal value in the command line when creating fractional dimensions or inquiries.
Current version (11.3.12) does not. Is this a setting that can be modified?
If the dimension type set to fractional, I would like to be able to find the exact decimal length.
Comments
-
Command: Units > Linear units > Linear unit precision
Or:
LUPREC0 -
Thank you, but I am afraid I did not explain very well. I always want fractional dimensions on the drawing. But in the previous version, when fractional dimensions were being made, the command line would report the decimal equivalent, which is very handy.
On the old version of bricscad it was:
: _dimlinear
ENTER to select entity/<Origin of first extension line>:
Origin of second extension line:
Angle/Text/Horizontal/Vertical/Rotated:
Dimension text = 28.125On bricscad 11.2.5 it is:
: _dimlinear
ENTER to select entity/<Origin of first extension line>:
Origin of second extension line:
Angle/Text/Horizontal/Vertical/Rotated:
Dimension text = 28 1/8I would like to see the line "Dimension text = 28.125", is there any setting for that (without changing units to fractional)?
If there is another way to get a decimal report on a dimension, that would work for me too.
Thanks!
0 -
Paul your 1st explanation is pretty accurate. I should have read better.
Bricscad release notes Version 11.3.9:
SR29436 - COMMAND LINE: dimension variables (DIMLUNIT, DIMAUNIT, DIMFRAC, DIMDEC, DIMADEC, DIMZIN, DIMAZIN) were not taken into account when formatting the command line string.You can try the lisp below (change your toolbar macros as described in the comment):
; Use these toolbar macros:
; ^c^c_dimlinear;\\\(DisplayDistFromDim)
; ^c^c_dimaligned;\\\(DisplayDistFromDim)
; ^c^c_dimlinear;\\_rotated;\(DisplayDistFromDim)
(defun DisplayDistFromDim ( / ang elist ename pt1 pt2)
(if
(and
(setq ename (entlast))
(setq elist (entget ename))
(= (cdr (assoc 0 elist)) "DIMENSION")
)
(cond
((setq ang (cdr (assoc 50 elist)))
(setq pt1 (reverse (cdr (reverse (trans (cdr (assoc 13 elist)) 0 ename)))))
(setq pt2 (reverse (cdr (reverse (trans (cdr (assoc 14 elist)) 0 ename)))))
(princ "\r= ")
(princ
(distance
pt1
(inters
pt1 (polar pt1 ang 1)
pt2 (polar pt2 (+ ang (/ pi 2)) 1)
nil
)
)
)
)
('T
(princ "\r= ")
(princ
(distance
(reverse (cdr (reverse (trans (cdr (assoc 13 elist)) 0 ename))))
(reverse (cdr (reverse (trans (cdr (assoc 14 elist)) 0 ename))))
)
)
)
)
)
(princ)
)0 -
Oops, forgot one backslash in the "Rotated".
It should be:
^c^c_dimlinear;\\_rotated;\\(DisplayDistFromDim)0