AutoCAD Electrical's Modify Symbol Lib util - Pushing it beyond its limits

  • 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.

    About Nate

Latest Post

  • AutoCAD Electrical's Modify Symbol Lib util - Pushing it beyond its limits
    February 5, 2007, 08:51 PM Nate Holt

    The 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:

    termxx_rotate03.jpg

    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:

    termxx_rotate04.jpg

    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.

    termxx_rotate05.jpg

    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.

    termxx_rotate02.jpg

    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.



    0 Comment | Add Comment Controlling the Machine > All

Comments



You must be logged in to post a comment.

Subscribe to Blog

Want to keep up with the latest? Subscribe to the RSS feed today.

RSS

Tags

You must be logged in to add a tag.

Send to a Peer

You must login to share pages.

Feedback

Tell us what you think of the site.

Send Feedback