Message 1 of 24
Lisp to obtain Attribute value to Rotate Block

Not applicable
06-19-2019
10:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have used many Lisp programs over the years, but have done very little programming. I am trying to find or create a Lisp program which will automatically rotate a block to the angle specified in an attribute contained in the block. In other words - if I change the attribute angle to 53 degrees, I want the block to rotate around its insertion point to an angle of 53 degrees. Eventually, I would like the program to work in 2 ways: 1.) By changing the attribute as I described, or 2.) By specifying the angle when inserting the block (which will place the block at the appropriate angle and change the att txt to the angle spec'd on insertion. Any help with this would be GREATLY appreciated.
Dustin