Hi!
I've made accidently something strange.
When I open new scene and place a “geometry node” this node contains defaultly my digital asset (normal it should contain file sop).
How can I fix it?
edit: what is real strange, that when I click on this “asset” in geomtery node I cannot delete it!
after hiting delete, I can see “0 operators, 0 network boxes, 0stickies deleted. Warning: Could not delete: ocean.”
edit2: ok I couldn't delete content becaouse the "geometry node was defaultly locket. But how to fix all the things?
default sop in geometry node
3424 6 1- danilo2
- Member
- 277 posts
- Joined: July 2006
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- danilo2
- Member
- 277 posts
- Joined: July 2006
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- danilo2
- Member
- 277 posts
- Joined: July 2006
- Offline
- graham
- Member
- 1908 posts
- Joined: Nov. 2006
- Offline
You can change default operator creation behavior by changing the operator creation scripts. They are located in $HH/scripts/.
If you want to change them then you should just copy them to your $HOME/houdiniX.Y/scripts folder in the same named subfolder. You can then mess around with them all you want.
In the case of the Geometry object, in the $HH/scripts/obj/geo.cmd script you can see the lines that create the File SOP by default. You can change it to do whatever you want.
Also, you can of course also use Python scripts to handle these. They work a similar way but named geo.py for example. For the Geometry object though, if you go with a purely Python based script, you'll run into an issue where your new Geometry objects won't have the rendering parameters that get added. You should be able to use hou.hscript() to call opproperty yourself to add the properties.
If you want to change them then you should just copy them to your $HOME/houdiniX.Y/scripts folder in the same named subfolder. You can then mess around with them all you want.
In the case of the Geometry object, in the $HH/scripts/obj/geo.cmd script you can see the lines that create the File SOP by default. You can change it to do whatever you want.
Also, you can of course also use Python scripts to handle these. They work a similar way but named geo.py for example. For the Geometry object though, if you go with a purely Python based script, you'll run into an issue where your new Geometry objects won't have the rendering parameters that get added. You should be able to use hou.hscript() to call opproperty yourself to add the properties.
Graham Thompson, Technical Artist @ Rockstar Games
- danilo2
- Member
- 277 posts
- Joined: July 2006
- Offline
-
- Quick Links