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 Monday at 07:27 PM Share Posted Monday at 07:27 PM 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 yesterday at 08:20 AM Share Posted yesterday at 08:20 AM 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 yesterday at 09:41 AM Share Posted yesterday at 09:41 AM 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 12 hours ago Share Posted 12 hours ago 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 2 hours ago Share Posted 2 hours ago 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 54 minutes ago Share Posted 54 minutes ago Did you also turn this option off? 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.