Message 1 of 4
Get an angle from a Block.

Not applicable
05-18-2016
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
My problem is that I need to get an angle from a Block.
But instead to get the angle that I have in my personal UCS, it gets the angle that I I have at UCS - World.
I need the angle in my personal UCS, I hope someone could help me.
Thanks in advance.
The routine is this
(defun getAngleBlock (/) (setq ent (entsel "\nPunto para conectar el codo:\n")) (setq ent (entget (car ent))) (setq rot_bloque (cdr (assoc 50 ent))) (prompt (strcat "\nThe angle obtained was this:" (angtos rot_bloque 0 4))) (prin1) ) (defun c:GA (/) (getAngleBlock) )
And the block is attached.