• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD Electrical

    Reply
    Active Contributor
    Posts: 45
    Registered: ‎11-17-2003

    Dip Switches

    151 Views, 7 Replies
    06-18-2004 07:51 AM
    I have a block of a servo drive that contains a bank of 10 dip switches. When this block is inserted I would like it to prompt for the position (0 -1) of these and then display them on the block. Is this possible? Has anyone done this?

    Thanks in advance,

    Robert
    Please use plain text.
    *John Pullen

    Re: Dip Switches

    06-18-2004 08:05 AM in reply to: rday
    This would be a really useful thing... One suggestion someone had was to create 2 blocks and use the no/nc swap tool to set 1 or 0. Then you'd just gang the single switch enough times to make the switch you need. "rday" wrote in message news:19225768.1087570332696.JavaMail.jive@jiveforum1.autodesk.com... > I have a block of a servo drive that contains a bank of 10 dip switches. When this block is inserted I would like it to prompt for the position (0 -1) of these and then display them on the block. Is this possible? Has anyone done this? > > Thanks in advance, > > Robert
    Please use plain text.
    Distinguished Contributor
    Posts: 143
    Registered: ‎03-19-2004

    Re: Dip Switches

    06-21-2004 09:21 AM in reply to: rday
    rday, can you elaborate a little more on how you want to see this. will the geometry (dipswitch representation) be changing, or are you talking just text changing value. Let me know I might have an idea for you
    Please use plain text.
    *Joshua Verdin

    Re: Dip Switches

    06-21-2004 12:11 PM in reply to: rday
    Rday, Well I have a couple Ideas LISP, Attribute Text using X's and O's (Example; JP5:Attribute), and nesting blocks. John had a pretty good Idea but it all depends on how many dip switches you have. One other suggestion you want to consider is making the Dip Switch itself a separate block with different variations. Then you could and it the base block with refedit after inserting it into the drawing. I don't know of any real intuitive way to do this besides lisp to this. Joshua Verdin Applications Engineer MasterGraphics, Inc. "rday" wrote in message news:19225768.1087570332696.JavaMail.jive@jiveforum1.autodesk.com... > I have a block of a servo drive that contains a bank of 10 dip switches. When this block is inserted I would like it to prompt for the position (0 -1) of these and then display them on the block. Is this possible? Has anyone done this? > > Thanks in advance, > > Robert
    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎11-17-2003

    Re: Dip Switches

    06-21-2004 03:19 PM in reply to: rday
    Thanks for the replies.

    RobStein:
    I would like to see the geometry of the switch change for on/off but text would work if all else fails.

    Joshua Verdin:
    I am afraid I lack the LISP programming skills needed but I am willing to try if some one is interested in helping.
    Please use plain text.
    *Nate Holt \(Autodesk\)

    Re: Dip Switches

    06-22-2004 07:12 AM in reply to: rday
    Here's a cute approach. Two DIP switch symbols, hdp11_dip.dwg and hdp12_dip.dwg, that will toggle back and forth using the AcadE "Toggle NO/NC" command. Put both symbols into your symbol library folder or somewhere in the Acad path so that the "Toggle NO/NC" will find them. "rday" wrote in message news:24337319.1087856395411.JavaMail.jive@jiveforum2.autodesk.com... > Thanks for the replies. > > I would like to see the switch change graphically for on/off but text would work if all else fails. > > I am afraid I lack the LISP programming skills needed but I am willing to try if some one is interested in helping.
    Please use plain text.
    *Joshua Verdin

    Re: Dip Switches

    06-22-2004 08:24 AM in reply to: rday
    I still think John's & Nate's appoarch is the best, just thought I would through some other Ideas out there. Joshua "rday" wrote in message news:24337319.1087856395411.JavaMail.jive@jiveforum2.autodesk.com... > Thanks for the replies. > > I would like to see the switch change graphically for on/off but text would work if all else fails. > > I am afraid I lack the LISP programming skills needed but I am willing to try if some one is interested in helping.
    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎11-17-2003

    Re: Dip Switches

    06-22-2004 02:26 PM in reply to: rday
    Hey Nate,

    Thats great!
    This may work out just like I wanted.
    Thanks to all.
    Please use plain text.