yisiqu Posted December 12, 2023 Share Posted December 12, 2023 http://i.imgur.com/RnyRamH.png Quote Link to comment Share on other sites More sharing options...
Jafaar Posted December 13, 2023 Share Posted December 13, 2023 Hello, you have to select your node and use the shortcut "Z" to acces the differents node shape. Quote Link to comment Share on other sites More sharing options...
animatrix Posted December 13, 2023 Share Posted December 13, 2023 Hi, The second one is from my own desktop In my case I just override the rectangle shape by my custom node shape and turn off the custom node shape option. I place my own circle shape as rect.json under: HOUDINI_USER_DIR\config\NodeShapes 1 Quote Link to comment Share on other sites More sharing options...
ftaswin Posted December 15, 2023 Share Posted December 15, 2023 Or inside $HOUDINI_USER_PREF_DIR/scripts/OnCreated.py Add this: kwargs["node"].setUserData("nodeshape", "circle") If the folder or file doesnt exists, create one 2 Quote Link to comment Share on other sites More sharing options...
yisiqu Posted December 16, 2023 Author Share Posted December 16, 2023 That's the most elegant thing I've ever seen. Thanks, Ferry Taswin! Quote Link to comment Share on other sites More sharing options...
animatrix Posted December 16, 2023 Share Posted December 16, 2023 Be careful explicitly changing node shapes though. I used my setup at ILM and MPC with production files but only I would see the nodes as circles, everyone else saw them as what they were i.e. default or custom shapes they set. So I didn't upset anyone messing with their shapes which would be a big problem otherwise. Quote Link to comment Share on other sites More sharing options...
yisiqu Posted December 16, 2023 Author Share Posted December 16, 2023 Yunus, thanks for the reminder. Quote Link to comment Share on other sites More sharing options...
esoids Posted March 16 Share Posted March 16 Is this still working in H21? I can't seem to find a working combination. Quote Link to comment Share on other sites More sharing options...
animatrix Posted March 17 Share Posted March 17 12 hours ago, esoids said: Is this still working in H21? I can't seem to find a working combination. Yes if you have custom node shapes under HOUDINI_USER_PATH/config/NodeShapes Then it will work. Make sure to turn off "Use Custom Shapes" Quote Link to comment Share on other sites More sharing options...
esoids Posted March 17 Share Posted March 17 1 hour ago, animatrix said: Yes if you have custom node shapes under HOUDINI_USER_PATH/config/NodeShapes Then it will work. Make sure to turn off "Use Custom Shapes" Thanks! This is very weird. I deleted my pref folder. I added only Documents\houdini21.0\config\NodeShapes where I copied the bone.json and renamed it to rect.json. Then turned off Use Custom Shapes. This is the result: It uses the default rectangle but not the shape I put there. Quote Link to comment Share on other sites More sharing options...
animatrix Posted March 18 Share Posted March 18 But the shapes you copied has to match existing ones by name like rect while looking like a circle. Did you do that? Quote Link to comment Share on other sites More sharing options...
esoids Posted March 18 Share Posted March 18 9 hours ago, animatrix said: But the shapes you copied has to match existing ones by name like rect while looking like a circle. Did you do that? Yes, I copied circle, bone etc and renamed them to rect.json in the user folder. But they all show up as the standard rectangle like in the screenshot. So again just to remain sane: I went into the Houdini install folder, copied different jsons (like bone, circle) to Documents\houdini21.0\config\NodeShapes and renamed them to rect.json just to test. But they all render like the standard rectangle shape in Houdini (round corners). Am I missing something here? Quote Link to comment Share on other sites More sharing options...
animatrix Posted March 18 Share Posted March 18 Did you also turn this option off? Quote Link to comment Share on other sites More sharing options...
esoids Posted March 18 Share Posted March 18 2 hours ago, animatrix said: Did you also turn this option off? Yes, it is off. Desperately installing latest daily. Maybe it's something off in the install or something. I'm using Education version, do you think that has anything to do with it? Installed through the launcher. Quote Link to comment Share on other sites More sharing options...
esoids Posted March 18 Share Posted March 18 Omg... you need to edit the name INSIDE the json. Quote Link to comment Share on other sites More sharing options...
animatrix Posted March 19 Share Posted March 19 16 hours ago, esoids said: Omg... you need to edit the name INSIDE the json. Oh yes I forgot to mention this because I created my own circle shape and called it rect to override the default rect node shapes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.