- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I'm not looking for written out lisp code per se, but just a plan and method to get where I want to be. I have the need to set the attributes of many blocks to their default values. My plan is something like this:
Lisp Command:
User selects blocks whose attributes will revert to their default values.
Pass these blocks to the following function in the form of ???
Function Lisp:
Accept list (?) of blocks in the form of (list of vla objects/list of names [strings], selection set?)
Find the block definition object and save the default values of the attributes (I pretty much have this part down)
Apply the default attributes to the attributes of each block instance selected.
Any thoughts on the best way to save and pass block instances between command and function?
I guess, it would be a good idea to pass a list of VLA-Objects and just have the function process them 1 at a time instead of saving all the attribute tags and values to a list for later use?
Or, does the command have a selection set that it passes 1 at a time to a function that handles 1 block at a time?
🤔
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
Solved! Go to Solution.