I’m trying to use either AttributeUserText or BlockAttributeText to add information to embedded Blocks in my drawing files. Although these functions look similar superficially, they seem to work in very different ways and serve different purposes. Their naming is slightly misleading, to my eyes.
I’ve experimented with adding AttributeUserText to collected objects both before and after turning those objects into a Block. These are custom text attributes - things like part numbers, drawing callouts, etc. They are not driven by or derived from the object geometry.
If I assign them before the Block is created, then try to hook up other text that’s outside the Block, in a parts table or in the drawing space, they are not accessible using fx functions on that text object.
If the Attributes are assigned to the Block after it’s created, (stuck “on the outside”, as it were), then they are accessible.
All of these AttributeUserText’s are metadata attached to the object geometry. They don’t have to be visible on-screen.
Unless I’ve misunderstood, BlockAttributeText does have to be visible on screen, as text. Assigning it is a fussy process, to be done in a specific order. How to access it for edit after the fact is not at all obvious. It doesn’t show up in either the Properties panel or Block Definitions panel. It appears that it’s not metadata? It is solely text that’s visible on-screen. Is that correct?
I’m trying to work out when one should use one over the other. Strengths and weaknesses. The Help file documentation is written by/for someone that already knows what the functions are. It’s not great as a new learning tool. I’ve not found much in the way of online tutorials that make things clearer, either.
Can anyone point me in the direction of a good tutorial that covers this? Many thanks in advance for any insight or guidance!