Rollback bar to new location
- Maha Nadarasa
- Posts: 193
- Joined: Tue Mar 16, 2021 12:46 pm
- x 51
- x 48
Rollback bar to new location
Suppose I have moved the Rollback bar to new location. Is it possible to delete all the features below the Rollback bar?
- zxys001
- Posts: 1077
- Joined: Fri Apr 02, 2021 10:08 am
- Location: Scotts Valley, Ca.
- x 2305
- x 998
- Contact:
Re: Rollback bar to new location
I don't know.. but, that's a good question ...and request.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?
Maybe it does exist.. or someone has a macro to remove all features below the rollbar?
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
- Maha Nadarasa
- Posts: 193
- Joined: Tue Mar 16, 2021 12:46 pm
- x 51
- x 48
Re: Rollback bar to new location
If tree is too long this feature can greatly help to move the rollback where we want and delete the features below it.
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: Rollback bar to new location
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
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.
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.
- Maha Nadarasa
- Posts: 193
- Joined: Tue Mar 16, 2021 12:46 pm
- x 51
- x 48
Re: Rollback bar to new location
@Lucas
It is a good idea provided that there is no suppressed feature others one.
It is a good idea provided that there is no suppressed feature others one.
- zxys001
- Posts: 1077
- Joined: Fri Apr 02, 2021 10:08 am
- Location: Scotts Valley, Ca.
- x 2305
- x 998
- Contact:
Re: Rollback bar to new location
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)?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.
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
Re: Rollback bar to new location
@Maha Nadarasa, @zxys001, @Lukas
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/
Thanks,
Artem
xarial.com - making your CAD better
codestack.net - SOLIDWORKS API macros and tutorials
Artem
xarial.com - making your CAD better
codestack.net - SOLIDWORKS API macros and tutorials
- Maha Nadarasa
- Posts: 193
- Joined: Tue Mar 16, 2021 12:46 pm
- x 51
- x 48
Re: Rollback bar to new location
Thanks for the help.artem wrote: ↑Thu Aug 19, 2021 7:07 am @Maha Nadarasa, @zxys001, @Lukas
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/
- zxys001
- Posts: 1077
- Joined: Fri Apr 02, 2021 10:08 am
- Location: Scotts Valley, Ca.
- x 2305
- x 998
- Contact:
Re: Rollback bar to new location
Thank you, Artem.. I now owe you too many beers!artem wrote: ↑Thu Aug 19, 2021 7:07 am @Maha Nadarasa, @zxys001, @Lukas
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/
...I wonder though.. if your other macro deleting the Folder maybe better?
https://www.codestack.net/solidworks-ap ... -children/
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
- mattpeneguy
- Posts: 1386
- Joined: Tue Mar 09, 2021 11:14 am
- x 2489
- x 1899
Re: Rollback bar to new location
Pfft...who needs all that error checking?artem wrote: ↑Thu Aug 19, 2021 7:07 am @Maha Nadarasa, @zxys001, @Lukas
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/
Kidding aside, thanks @artem.
Re: Rollback bar to new location
Thank you very much, it's working greatartem wrote: ↑Thu Aug 19, 2021 7:07 am @Maha Nadarasa, @zxys001, @Lukas
I have added this macro to CodeStack: https://www.codestack.net/solidworks-ap ... -features/