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: 

Help with Double-Click Behavior

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
tcoppens84SWP
303 Views, 3 Replies

Help with Double-Click Behavior

Hello all,

 

I recently learned how to reassign my double-click command. I set it up in the CUI menu to run the "Edit Component" command and deleted such entries for the normal ACAD attribute block double-click function. It works well enough, but just one hiccup. When I double-click on the component, the effect is the same as if I clicked the button in the Schematic tab; I have to click one more time on the block for it to actually execute the command. Is there a way to change this so that when I double-click on a schematic/footprint block, it will execute the "Edit Component" command on THAT block?

3 REPLIES 3
Message 2 of 4
rhesusminus
in reply to: tcoppens84SWP

And, it will behave differently if you doubleclick a footprint 🙂

You need some code to achieve this.

 

Try to put this code to the double-click event:

^C^C(if (nth 1 (ssgetfirst))(progn (setq en (ssname (nth 1 (ssgetfirst)) (- (sslength (nth 1 (ssgetfirst))) 1)))(if (c:wd_is_it_schem_or_pnl en) (c:wd_edsym2 en) (command "eattedit"))))

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 4
tcoppens84SWP
in reply to: rhesusminus

Works like a charm! For footprints, too. Thanks so much - this will save me so much time, especially since my right-click menu and ACADE commands are still acting up.

Message 4 of 4
rhesusminus
in reply to: tcoppens84SWP

I got so fed up with AcadE not being very intuitive/effective, so I made this code many years ago.

Double-clicking an object is "open/edit/show properties" in most windows programs, just like CTRL+F should search my entire project and CTRL+C/CTRL+V should copy paste without any hitch. But.. Not in AutoCAD Electrical 😕


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

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

Post to forums  

Technology Administrators


AutoCAD Beta