AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insert Component Configuration

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
dbrblg
453 Views, 2 Replies

Insert Component Configuration

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

2 REPLIES 2
Message 2 of 3
rhesusminus
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
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 3 of 3
dbrblg
in reply to: rhesusminus

Thanks very much, your'e a star Smiley Very Happy

 

Works a treat.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost