• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    Distinguished Contributor
    Posts: 277
    Registered: ‎10-10-2007
    Accepted Solution

    Insert Component Configuration

    203 Views, 2 Replies
    11-20-2012 07:30 AM

    Is it possible to configure the insert component menu .dat file so when you choose a component, it automatically inserts the symbol in a specific place rather than prompt the user where to insert it?

     

    Thanks

    Please use plain text.
    Distinguished Mentor
    rhesusminus
    Posts: 569
    Registered: ‎09-21-2007

    Re: Insert Component Configuration

    11-21-2012 12:59 AM in reply to: dbrblg

    Yes,

     

    In the Iconmenu wizard, add a COMMAND instead of a COMPONENT.

    For the command string, use something like

    (c:wd_insym2 "VMO13" (list 0.0 0.0) nil nil)

     

    This will insert a vertical motor at 0,0, with no dialog box after insertion.

    Have a look at the API help for more options for the wd_insym2 command...

     

     

     


    THL
    Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. ;-)
    Please use plain text.
    Distinguished Contributor
    Posts: 277
    Registered: ‎10-10-2007

    Re: Insert Component Configuration

    11-21-2012 01:18 AM in reply to: rhesusminus

    Thanks very much, your'e a star :smileyvery-happy:

     

    Works a treat.

    Please use plain text.