Insert Component Configuration

Insert Component Configuration

dbrblg
Collaborator Collaborator
936 Views
2 Replies
Message 1 of 3

Insert Component Configuration

dbrblg
Collaborator
Collaborator

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

0 Likes
Accepted solutions (2)
937 Views
2 Replies
Replies (2)
Message 2 of 3

rhesusminus
Mentor
Mentor
Accepted solution

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
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 3 of 3

dbrblg
Collaborator
Collaborator
Accepted solution

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

 

Works a treat.

0 Likes