@hmsilva wrote:
Nicely done, pBe!
Henrique
Cheers Henrique, to save time writing the draft i took the liberty of grabbing your snippet from another thread for vla-capyobject, so you have a hand on it more than you can tell 
@bgraverholt wrote:
That's awesome work!!! It works!! Thank you I will have to have fun adding block names to the lisp file....
You are welcome bgraverholt, Glad you like it.
Also kudos to Henrique
@bgraverholt wrote:
Is there a way to have it do a mass selection? Such as do a cross selection of the legend and insert them one at a time? But have it only recognized blocks just in case you select a line or text. Then if there is a block that was selected and there is no associated detail for the legend block to list them in the command prompt and exclusions list since some legend items don't get details?
Sure there is, but what of the order of details to insert?
**Yes we can do that too.
If you include ALL the legend block name from your XLS LEGEND.dwg and its assocaited detail, then there's no need produce an exclusion list on the command prompt, unless its just a reminder for the benefit of the user then we can do that too.
One thing i noticed though, it would have been better if the block names for the legend with associated detail all have the suffix of LEGEND ["FC922-UT LEGEND"], that will narrow down the **selection set , then theres no danger of selecting a non valid legend block name. but it still your call.
Also there are blocks on XLS DETAILS.dwg that has more than one legend symbol, does that mean if and only if those two legend symbols appear then insert the detail?
Come to think of it, we can even do it the other way around. insert the blocks [tool paelettes] then build the legend from the existing detail blocks on the drawing
Thouhgts?
pBe