--- title: "System Commands" url: "https://help.maxon.net/r3d/houdini/en-us/Content/html/System%2BCommands.html" section_path: "Getting Started > Getting Started with Houdini > HScript Commands" description: "The plugin adds hscript commands that can be used from the textport window or from scripts. There are commands to add proxy nodes, add and remove camera …" --- # System Commands You are here: # System Commands ## Overview The plugin adds [**hscript commands**](https://www.sidefx.com/docs/houdini/commands/index.html) that can be used from the textport window or from scripts. There are commands to add proxy nodes, add and remove camera and objects spare parameters to the selected nodes, get and set the GPUs enable state, open the IPR window or open the options panel. ![Image: image001239.jpg](https://help.maxon.net/r3d/houdini/en-us/Content/Resources/Images/image001239.jpg) The **Redshift_setGPU** command, that makes possible configure the GPUs enable state in the system, only can be used before the first render. If used after render any image or after open the IPR window, the changes will not take effect. The commands to control the IPR are: - Redshift_openIPR to open the IPR window or full reload the scene - Redshift_IPRUpdateState to enable/disable the IPR scene update (the rendering will continue, but the changes in the scene will not be updated in the IPR) - Redshift_updateIPR to update the scene, useful after disable the IPR update - Redshift_snapshotIPR to take a snapshot of the current IPR image in MPlay ### Rendering from the command line The plugin is compatible with all the **Houdini non-GUI command line tools**. Using these tools it is easy support external render controllers, like Deadline, or write custom batch rendering scripts. The Redshift commands are also available for these tools to make possible configure settings like the GPUs to be used in the render session. This is an example of how to render a scene from the command line using the **hython** tool. The Redshift_setGPU hscript command is used to disable the first GPU in a four GPU system before render the scene. > **Note:** `hython E:\Projects\Redshift\RedshiftTest01.hip hou.hscript("Redshift_setGPU -s 0111") rnode = hou.node("/out/Redshift_ROP1") rnode.render()` ## Redshift HScript Commands | | | --- | | Redshift_CanUseRedshiftHR | | Redshift_CanUseRedshiftRT | | Redshift_IPRRenderingState | | Redshift_IPRRewireRootMaterialNode | | Redshift_IPRUpdateSelectedObjects | | Redshift_IPRUpdateState | | Redshift_IPRupdateSubnetMaterials | | Redshift_RVBucketRendering | | Redshift_RVCopyRenderRegion | | Redshift_RVRefresh | | Redshift_RVRender | | Redshift_RVStartStop | | Redshift_about | | Redshift_activatedRIQtWindow | | Redshift_activatedRVQtWindow | | Redshift_addProxy | | Redshift_addUSDProcedural | | Redshift_cameraspareparameters | | Redshift_closeRIQtWindow | | Redshift_closeRVQtWindow | | Redshift_deactivatedRIQtWindow | | Redshift_deactivatedRVQtWindow | | Redshift_disableRaiseExceptionOnRenderError | | Redshift_exportRenderOptionsDSFile | | Redshift_getDefaultOcioDisplayForSolaris | | Redshift_getDefaultOcioViewForSolaris | | Redshift_getDefaultRenderingOcioColorSpaceForSolaris | | Redshift_getGPUs | | Redshift_getOcioColorSpacesForSolaris | | Redshift_getOcioDisplaysForSolaris | | Redshift_getOcioViewsForSolaris | | Redshift_getProxyDependencies | | Redshift_getProxyElements | | Redshift_getProxyMaterials | | Redshift_getProxyMaterialsList | | Redshift_getRIQtPointer | | Redshift_getRVQtPointer | | Redshift_getRenderingOcioColorSpacesForSolaris | | Redshift_initRIQtWindow | | Redshift_initRVQtWindow | | Redshift_objectSpareParameters | | Redshift_openIPR | | Redshift_openRenderInfo | | Redshift_openRenderView | | Redshift_openRenderViewIPR | | Redshift_openViewportIPR | | Redshift_openViewportRenderingIPR | | Redshift_optionspanel | | Redshift_reloadIPR | | Redshift_removeCameraSpareParameters | | Redshift_removeObjectSpareParameters | | Redshift_setAlembicSopOptions | | Redshift_setGPU | | Redshift_setHybridRendering | | Redshift_setLogLevel | | Redshift_snapshotIPR | | Redshift_switchConsoleLog | | Redshift_updateCamerasSpareParameters | | Redshift_updateIPR | | Redshift_updateSpareParameters | | Redshift_version |