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?
Solved! Go to Solution.
Solved by rhesusminus. Go to Solution.
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"))))
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.
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 😕
Can't find what you're looking for? Ask the community or share your knowledge.