-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from jmoborn/master
Houdini get node info tool
- Loading branch information
Showing
4 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<shelfDocument> | ||
<!-- This file contains definitions of shelves, toolbars, and tools. | ||
It should not be hand-edited when it is being used by the application. | ||
Note, that two definitions of the same element are not allowed in | ||
a single file. --> | ||
|
||
<tool name="nodeInfo" label="Node Info" icon="PLASMA_App"> | ||
<helpText><![CDATA[= Get Node Info= | ||
"""Gets info about the currently selected asset.""" | ||
The selected node must be a digital asset.]]></helpText> | ||
<script scriptType="python"><![CDATA[# Author Jeremy Oborn | ||
# Digital Asset management for Owned | ||
# Get information about a Digital Asset-whether it's checked out and by whom | ||
import hou_asset_mgr as mgr | ||
node = mgr.getSelectedNode() | ||
mgr.getNodeInfo(node)]]></script> | ||
</tool> | ||
</shelfDocument> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters