Pick master attribute and then pick one or dozens of other attributes from multiple block instances to align with it.
Steve Kemp responded to a user request on the AutoCAD Electrical discussion group by developing this cool little utility. He passed it on to me for posting here.
Here is an example of how it might be used. Let’s say that you have a column of terminal block inserts that are wired to a PLC module block insert. But, for this one drawing, you’d like to relocate one of the attributes to the left-hand side of each terminal block instance.
Here’s how to do it with Steve’s tool. First, use normal AutoCAD grips to position the attribute of one instance to the desired position.
Next, APPLOAD Steve’s little AutoLISP utility here. Type AATTR [Enter] at the command line.
Now pick on the one relocated attribute. Choose “vertical” alignment (default).
Hit [Enter]… and there you go! Everything neatly aligned with the master.
Current limitations: as written, the utility does not process attributes that are set to “FIT” or “ALIGN” justification.
About Steve Kemp… in addition to applications development (contact him at firstname.lastname@example.org), Steve likes to surf. Though trapped in the heartland of the US, if he loads his boat down with 1600 or so pounds of dead weight so that it sits low in the water and then drives 9-11 MPH, it will throw up a wake large enough to surf!