mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Tweak menu for houdini
This commit is contained in:
parent
a3a91d896b
commit
f11357de24
1 changed files with 5 additions and 19 deletions
|
|
@ -3,23 +3,9 @@
|
|||
<menuBar>
|
||||
<subMenu id="avalon_menu">
|
||||
<label>OpenPype</label>
|
||||
<subMenu id="avalon_context">
|
||||
<labelExpression><![CDATA[
|
||||
from avalon import api
|
||||
return "%s - %s" % (api.Session["AVALON_ASSET"], api.Session["AVALON_TASK"])
|
||||
]]></labelExpression>
|
||||
<scriptItem id="avalon_context_switch">
|
||||
<label>Set Context</label>
|
||||
<scriptCode><![CDATA[
|
||||
from avalon.tools import contextmanager; contextmanager.show()
|
||||
]]></scriptCode>
|
||||
</scriptItem>
|
||||
</subMenu>
|
||||
|
||||
<separatorItem/>
|
||||
|
||||
<scriptItem id="avalon_create">
|
||||
<label>Create</label>
|
||||
<label>Create ...</label>
|
||||
<scriptCode><![CDATA[
|
||||
from avalon.tools import creator
|
||||
creator.show()
|
||||
|
|
@ -27,7 +13,7 @@ creator.show()
|
|||
</scriptItem>
|
||||
|
||||
<scriptItem id="avalon_load">
|
||||
<label>Load</label>
|
||||
<label>Load ...</label>
|
||||
<scriptCode><![CDATA[
|
||||
from avalon.tools import cbloader
|
||||
cbloader.show(use_context=True)
|
||||
|
|
@ -35,7 +21,7 @@ cbloader.show(use_context=True)
|
|||
</scriptItem>
|
||||
|
||||
<scriptItem id="avalon_manage">
|
||||
<label>Manage</label>
|
||||
<label>Manage ...</label>
|
||||
<scriptCode><![CDATA[
|
||||
from avalon.tools import cbsceneinventory
|
||||
cbsceneinventory.show()
|
||||
|
|
@ -43,7 +29,7 @@ cbsceneinventory.show()
|
|||
</scriptItem>
|
||||
|
||||
<scriptItem id="publish">
|
||||
<label>Publish</label>
|
||||
<label>Publish ...</label>
|
||||
<scriptCode><![CDATA[
|
||||
import hou
|
||||
from avalon.tools import publish
|
||||
|
|
@ -55,7 +41,7 @@ publish.show(parent)
|
|||
<separatorItem/>
|
||||
|
||||
<scriptItem id="workfiles">
|
||||
<label>Work Files</label>
|
||||
<label>Work Files ...</label>
|
||||
<scriptCode><![CDATA[
|
||||
import hou, os
|
||||
from pype.tools import workfiles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue