Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 91 characters in body
Source Link

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.PoseBone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can enter image description here

Can anyone help me please?

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.PoseBone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can anyone help me please?

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.PoseBone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. enter image description here

Can anyone help me please?

added 4 characters in body
Source Link

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.BonePoseBone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can anyone help me please?

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.Bone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can anyone help me please?

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.PoseBone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can anyone help me please?

Source Link

Custom Bone Property

I'm trying to add a custom property to a bone using python. I think I can add the property using

bpy.types.Bone.customProp = bpy.props.FloatProperty(name="customProp", default=0.0, min=0.0, max=1)
bpy.context.active_object.pose.bones["BoneName"].customProp = 0.0

However, in the bone's 'Custom Properties' panel the property doesn't appear. Can anyone help me please?