AutoCAD Electrical General Discussion

AutoCAD Electrical General Discussion

Reply
Distinguished Contributor
dbrblg
Posts: 326
Registered: ‎10-10-2007
Message 1 of 3 (259 Views)
Accepted Solution

Insert Component Configuration

259 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

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

 

 

 

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

 

Works a treat.

*Expert Elite*
rhesusminus
Posts: 927
Registered: ‎09-21-2007
Message 2 of 3 (240 Views)

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

 

 

 


Trond Hasse Lie
ECAD Consultant
CtrlAltEl

Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. ;-)
Distinguished Contributor
dbrblg
Posts: 326
Registered: ‎10-10-2007
Message 3 of 3 (234 Views)

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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.