Set rebar hooktype

Hello everyone,
After running my script (which generates rebar) I always have to reset the values for the rebar hook type and rebar hook orientation. I’m using the GH Rebar package.
Is there a way to set these values in a code block or a simple python script?

Try using these nodes from DynamoRebar Package

I doubt if these are working with Revit 2026.
Got the GH Rebar nodes working. When running my script in the dynamo player the values don’t change.