- Oh no! An error has occurred!
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
- You need to be logged in to do that.
-
Coinciding with the acquisition of VIA Development, Nate joined Autodesk in March of 2003 after a decade stint as an entrepreneur following a two-decade stint as a controls engineer and software applications developer at Owens-Corning. Nate is now the lead product architect for AutoCAD Electrical. He loves this stuff.
-
AutoCAD Electrical's Modify Symbol Lib util - Pushing it beyond its limits
February 5, 2007, 08:51 PM Nate HoltThe AutoCAD Electrical "Discussion Group" http://discussion.autodesk.com/index2.jspa?categoryID=13 had a recent posting about the "Modify Symbol Library" utility. This user needed to go through the many hundreds of schematic library symbols (thousands?) and find those with vertical rotated terminal pin attribute text (highlighted in YELLOW below).
BEFORE:

For each one found, he wanted to rotate the attribute text back to horizontal, resize the text, change its justification to "Left", and then reposition the attribute to the opposite side of the wire connection attribute (wite connection attribute shown in GREEN below).
AFTER:

This task seems more or less in line with what the utility was meant to do... but not totally. There are no pre-defined options in the utility to do the rotate part and the reposition operation. But, the user correctly surmised that a small AutoLISP function called from this utility might fill in the gap, pushing it beyond its out-of-the-box limits.
How to do it
Here's one way to do it. This bare-bones AutoLISP utility View or Download can be piggy-backed on top of the Modify Symbol Library utility to do all three operations on each library symbol in the target library folder.
Preliminaries
Flip your system to "single document mode" (with just one drawing open on your screen, type SDI at the command line and change the value to 1). Download, modify (if required), and then APPLOAD the utility.
Here we go!
Now launch the Modify Symbol Library utility from the Component pull-down menu.

Select the symbol library path on the next dialog. Then the utility's main dialog appears (below). Enter the AutoLISP function's command name in the edit box as shown, enter this: (c:termxx_rotate)
It corresponds to the "(defun...) defined in the AutoLISP text file.

Hit the utility's "Start" button to fire it off. Then go get a cup of coffee. When you come back, it should be nearly finished.
You must be logged in to post a comment.