Author Topic: Field in bubble to return value of tag in a block  (Read 1312 times)

0 Members and 1 Guest are viewing this topic.

jlogan02

  • Bull Frog
  • Posts: 327
Field in bubble to return value of tag in a block
« on: December 18, 2018, 05:30:00 PM »
I asked this in the General forum thinking there would be ready made solution. Decided to move it here and see if anyone has a suggestion.

I want to be able to use a bubble with a field that will grab the part number tag of a selected block after I draw my leader for the bubble.

So I initiate the "draw bubble with leader" routine.
Select the start point of my leader as some point on an attributed block whose part number will autofill the field of the bubble after drawing the leg and .  (I'm thinking this action is equal to a

Code - Auto/Visual Lisp: [Select]
  1. "...setq tag...(... 'getattributes))

Once I finish drawing my leader, the bubble is populated by the "get" action.

Maybe this already exists and I just haven't found it. After all google only returns what you put in. Maybe I should use the right words.
J. Logan
ACAD 2018

I am one with the Force and the Force is with me.
AutoCAD Map 2018 Windows 10

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: Field in bubble to return value of tag in a block
« Reply #1 on: December 18, 2018, 07:45:16 PM »
I don't know of anything ready made for AutoCAD that does this, Revit has some similar functionality though. I have made a few attempts at something similar to this, unfortunately none have ever quite worked right.