How to delete custom created viewport overrides
1696
4
1
-
- pete4d
- Member
- 10 posts
- Joined: May 2014
- Offline
Hi,
What is the way to delete previously saved Viewport overrides? I can create them, but not modify/delete them.
Cheers.
PK
Attachments:
image (4).png (69.9 KB)
-
- wanglifu
- Member
- 138 posts
- Joined: Feb. 2017
- Offline
+1 can't find the option
-
- mtucker
- Staff
- 4441 posts
- Joined: July 2005
- Offline
Yeah, somewhat ridiculously, there is no way to do this right now (besides with a python script). There is already an RFE for this.
-
- pete4d
- Member
- 10 posts
- Joined: May 2014
- Offline
mtucker
Yeah, somewhat ridiculously, there is no way to do this right now (besides with a python script). There is already an RFE for this.
Thanks for your tip. Would you mind to share the python way to remove foobar entry? Thanks so much.
-
- mtucker
- Staff
- 4441 posts
- Joined: July 2005
- Offline
Expansion states, overrides, and load masks are stored as "data blocks" on the LOP Network. Data blocks are removed like this:
s = hou.node('/stage')
s.removeDataBlock('foo.overrides')