Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a little rourtine we I use to label doors and windows. It works well but it would be nice if it would automatically rotate the label to the same rotation as the window/door selected. If I use the list command in autocad it shows the rotation, but when I try to get the rotation it is always 0.00.
Here is what I've been trying to use:
(setq entw (entsel "\nSelect Door or Window: "))
(setq objw (vlax-ename->vla-object (car entw)))
(setq get_rotat (vlax-get objw 'Rotation))
Any ideas??
Solved! Go to Solution.