5 FREE SOLIDWORKS® macros to save clicks

preview_player
Показать описание

Improve your day-to-day work in SOLIDWORKS® by employing these 5 free macros: open large assembly in design review form Windows Explorer, close all documents except active one in one click, select component file in the file explorer from assembly, delete all features in the folder in one click, exclude bodies from cut list from graphics area

Models used in the video demonstration:
Рекомендации по теме
Комментарии
Автор

Артем, огромное спасибо за то, что делитесь результатами своего труда!!!
Макрос Select Component's File In The File Explorer From Assembly у меня отрабатывал немного некорректно: окно проводника открывалось в фоне (не свернутым, а ЗА текущим окном SW). И при этом сам проводник повисал.
Переписал в варианте:
tmp = Shell("explorer.exe /select, " & """" & path & """", vbNormalFocus)
Заработало))
Но иногда все ровно подвешивает проводник. Добавил задержку перед открытием - вроде помогло...
В любом случае - СПАСИБО!

dimkadimka
Автор

The macro "select component file in the file explorer from assembly" opens the windows explore but doesn't bring it to the front, anyone knows how to execute the macro and bring the windows folder on top of solidworks? Thanks

marcmendez
Автор

Hello,
can I macro request?
In drawings, I hate adding H7 h6 tolerances. I choose the dimension after that click the macro button. And A user form will open. I choose hole or shaft and fit or tight.
For example, If I choose hole and fit. H7 tolerance will be added. If I choose shaft and tight. k6 tolerance will be added.
Is it possible to make it in VBA? I tried but I could not do it.

ngelkng
Автор

Hello, Can you give me suggestion! How can I supress all bodies; which are intersecting.

bhaumiks.