Page 1 of 1
Rollback bar to new location
Posted: Sat Aug 14, 2021 8:16 pm
by Maha Nadarasa
Suppose I have moved the Rollback bar to new location. Is it possible to delete all the features below the Rollback bar?
Re: Rollback bar to new location
Posted: Sat Aug 14, 2021 8:56 pm
by zxys001
Maha Nadarasa wrote: ↑Sat Aug 14, 2021 8:16 pm
Suppose I have moved the Rollback bar to new location. Is it possible to delete all the features below the Rollback bar?
I don't know.. but, that's a good question ...and request.
Maybe it does exist.. or someone has a macro to remove all features below the rollbar?
Re: Rollback bar to new location
Posted: Sun Aug 15, 2021 11:36 am
by Maha Nadarasa
If tree is too long this feature can greatly help to move the rollback where we want and delete the features below it.
Re: Rollback bar to new location
Posted: Sun Aug 15, 2021 5:33 pm
by mattpeneguy
I created a macro to move the rollback bar to a specific location (that's a generous use of the word created, hacked together is probably more accurate). I could try to find it and post it (it's probably over at the Downloads section already). I would guess it wouldn't be too difficult to locate the position of the rollback bar, roll it forward and delete everything past the previous location. I don't know if there's a way to delete the features unless you roll forward. That's a question for someone like @artem, @josh, or @gupta9665...the people that actually know what they're doing, unlike me...seems it'd be more efficient to be able to delete them without rolling forward.
Re: Rollback bar to new location
Posted: Sun Aug 15, 2021 8:38 pm
by Lucas
I am also interested in this. lol
The solution I have for now is just roll the next item and suppress it, eventually some Children Features will get suppressed together making it easier to keep rolling without crashes, then Delete them all together. Not ideal, but just takes a few seconds to do.
Re: Rollback bar to new location
Posted: Sun Aug 15, 2021 10:30 pm
by Maha Nadarasa
@Lucas
It is a good idea provided that there is no suppressed feature others one.
Re: Rollback bar to new location
Posted: Mon Aug 16, 2021 11:40 am
by zxys001
Maha Nadarasa wrote: ↑Sun Aug 15, 2021 10:30 pm
@Lucas
It is a good idea provided that there is no suppressed feature others one.
What may also be kewl is a "Purge" like Feature (or macro) which places all the unused features into a "Folder" at the end (or beginning or where you start the macro) of the Feature Tree... giving the user a option to delete (all those un-used or un-wanted features at end/or beginning) or just suppress them (archive)?
Re: Rollback bar to new location
Posted: Thu Aug 19, 2021 7:07 am
by artem
@Maha Nadarasa,
@zxys001,
@Lukas
I have added this macro to CodeStack:
https://www.codestack.net/solidworks-ap ... -features/
Re: Rollback bar to new location
Posted: Thu Aug 19, 2021 8:24 am
by Maha Nadarasa
Re: Rollback bar to new location
Posted: Thu Aug 19, 2021 6:31 pm
by zxys001
Thank you, Artem.. I now owe you too many beers!
...I wonder though.. if your other macro deleting the Folder maybe better?
https://www.codestack.net/solidworks-ap ... -children/
Re: Rollback bar to new location
Posted: Thu Aug 19, 2021 6:48 pm
by mattpeneguy
Pfft...who needs all that error checking?
Kidding aside, thanks
@artem.
Re: Rollback bar to new location
Posted: Thu Aug 19, 2021 7:56 pm
by Lucas
Thank you very much, it's working great