An answer to Hot Key for Clear selection ...

Jun 11, 2004 0 Replies

Don't know how to post a reply. Regarding to Mark's question, assigning a hotkey to the following simple macro may help



Sub main() Set swApp = CreateObject("SldWorks.Application") Set Part = swApp.ActiveDoc Part.ClearSelection End Sub



When running this macro inside a sw command such as Measurement, the selections are actually clear while you can still see your former selected entities in the Property Manager page. It doesn't matter.



Jiao, Qian



From: Mark ( snipped-for-privacy@xandex.com) Subject: Hot Key for Clear selection ... Date: 27 Apr 2004 09:23:39 -0700



I have a user that would like to have a hot key to clear selections. I do not see a keyboard item to customize. Hoping that someone out there would have some insite on setting this up. Any help here would be most appriciated. Also i have already gone through all of the ways to call this up by RMB with the user and they still would like this hot key ability.


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required