I am trying to discover how to sensibly extract angular dimensions as attributes.
I can extract the attributes from a block containing angular dimensions, the attributes list angular dimensions as a field but don't actually list the number of degrees for the angular dimension.
It is the number of degrees that I am actually trying to obtain - but I cannot work out how to obtain the information
Solved! Go to Solution.
Solved by SimonSamuels. Go to Solution.
Hi,
draw a angular dimension, change the number of decimal places and try follow single lisp code.
(cdr (car (cdr (member '(1070 . 271) (car (cdr (assoc -3 (entget (car (entsel)) '("ACAD")))))))))
Return value: number of decimal places (... i hope also at your system ...)
kind regards,
Franz
I have tried altering the number of decimal places and running the code, but it doesn't alter the result of the entries for the block attributes - the angular dimension field still doesn't show the individual angles from the block.
Have worked it out 😉
I created an attribute and then entered a Field , selecting the angular dimension as an object and using measurement as the Property.
Just to confuse matters, AutoCAD provided the angle measured in Radians so I used a factor of 57.2958 to convert to degrees