Get_hierarchy_modifier Errror in v, 5-0 Preview 1

How to add rig-elements in v 5.0.0 Preview 1 with python ?
Up until v 5.0.0 Early access 2 the “hierarchy_modifier” could be accessed with:
unreal.ControlRigBlueprint.get_hierarchy_modifier()
However the new version 5.0.0 Preview 1 Errors with:
Error: AttributeError: ‘ControlRigBlueprint’ object has no attribute ‘get_hierarchy_modifier’

Example:
ControlRigBlueprint = unreal.ControlRigBlueprint()
ControlRigBlueprint.get_hierarchy_modifier()

Error: AttributeError: ‘ControlRigBlueprint’ object has no attribute ‘get_hierarchy_modifier’

2 Likes

Hello,

Any answer on that from Epic?

The autocomplete shows the attribute, but is not working.

Can somebody provide a path to look at the python modules to check why is that happening.

Thanks in advance

it’s replaced with hierarchy arributes (return RigHierarchy class). however in UE5.1, it seems they adjust the structure again lol

1 Like