"Save To Info Block" flag available in Python

   923   0   0
User Avatar
Member
76 posts
Joined: March 2007
Offline
Hi there,

The Attribute Create Sop has the “Save To Info Block” toggle.

Now I have a detail attribute that I'm creating in Python… or I could say I'm doing this:
geo.addAttrib(hou.attribType.Global, “MyDetailAttrib”, “”)
geo.setGlobalAttribValue(“MyDetailAttrib”,MyValue)

…and I want to set this “flag” on the new attribute as well.

Is there any way to do it with Python in one go or should I involve the Attribute Create Sop?

cheers,
benS
  • Quick Links