Freeze Bar macro?

Library for macros
ellundo
Posts: 25
Joined: Tue Mar 30, 2021 7:08 am
Answers: 0
x 18

Freeze Bar macro?

Unread post by ellundo »

I am looking for a macro that would run through all the parts in an assembly and activate the freeze bar on all the parts in the assembly. Does anyone have one for this that they could share?
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: Freeze Bar macro?

Unread post by zwei »

Freeze bar should be a system option which you only need to turn on once for it to appear on all part.

If you are referring to moving the freeze bar, the example should get you started:
https://help.solidworks.com/2017/Englis ... ple_VB.htm
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
gupta9665
Posts: 420
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 438
x 459

Re: Freeze Bar macro?

Unread post by gupta9665 »

Zhen-Wei Tee wrote: Thu May 26, 2022 8:15 am Freeze bar should be a system option which you only need to turn on once for it to appear on all part.

If you are referring to moving the freeze bar, the example should get you started:
https://help.solidworks.com/2017/Englis ... ple_VB.htm
But that will appear on the top only and I think OP is looking to pull it to end of tree.
Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: Freeze Bar macro?

Unread post by mattpeneguy »

I haven't looked at the macro I made/borrowed in a while, but I apparently have one at the link below that rolls the bar up and down the tree:
viewtopic.php?t=74
User avatar
gupta9665
Posts: 420
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 438
x 459

Re: Freeze Bar macro?

Unread post by gupta9665 »

ellundo wrote: Thu May 26, 2022 7:21 am I am looking for a macro that would run through all the parts in an assembly and activate the freeze bar on all the parts in the assembly. Does anyone have one for this that they could share?
Try the macros from this post https://r1132100503382-eu1-3dswym.3dexp ... fF45wHju5w
Deepak Gupta
SOLIDWORKS Consultant/Blogger
Post Reply