Hi @bpuent
This video tutorial explains well how to customize the VR menu and add your own Python scripts:
https://help.autodesk.com/view/VREDPRODUCTS/2023/ENU/?guid=VRED_Tutorials_Python_Tutorials_11Tutoria...
In your case the Python script might look like this:
# Function to initialize and active the Clipping Module
def clippingEnabled():
print("Enable Clipping")
Clipping = enableClippingPlane(true)
# Function to disable the Clipping Module
def clippingDisabled():
print("Disable Clipping")
Clipping = enableClippingPlane(false)
# Create the tool, set its name and connect to the on and off state
VRClippingPlane = vrImmersiveUiService.createTool("Clipping")
VRClippingPlane.setText("Clipping")
VRClippingPlane.setCheckable(True)
VRClippingPlane.signal().checked.connect(clippingEnabled)
VRClippingPlane.signal().unchecked.connect(clippingDisabled)
Tillmann Dorsch
Product Owner for Visualization