SideFX Houdini customization package
git clone https://git.lucas.co/hou-control.git
python_panels/hc_settings.pypanel (952B)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pythonPanelDocument>
3 <!-- HC Settings as a real pane tab type. Houdini scans python_panels/ on
4 every HOUDINI_PATH entry, so this registers the interface as soon as the
5 hou-control package is on the path. HCSession.openSettings() looks the
6 interface up by the name below, so the two must stay in sync; the name
7 also lives on HCSettingsPanel.INTERFACE_NAME. -->
8 <interface name="hc_settings" label="HC Settings" icon="MISC_python" showNetworkNavigationBar="false" help_url="">
9 <script><![CDATA[
10 from hc.hcsettings import HCSettingsPanel
11
12 def onCreateInterface():
13 return HCSettingsPanel()
14 ]]></script>
15 <includeInPaneTabMenu menu_position="900" create_separator="true"/>
16 <help><![CDATA[
17 Settings for the hou-control package, generated from hcschema.SCHEMA and
18 stored in hc_settings.json. Edits to that file on disk are picked up live.
19 ]]></help>
20 </interface>
21 </pythonPanelDocument>