Skip to content

Instantly share code, notes, and snippets.

@yamahigashi
Created June 5, 2015 04:21
Show Gist options
  • Save yamahigashi/45e3685f0450ba12ca66 to your computer and use it in GitHub Desktop.
Save yamahigashi/45e3685f0450ba12ca66 to your computer and use it in GitHub Desktop.
inspect property with width/height #softimage
function inspect_property(propname, width, height){
view = Desktop.ActiveLayout.CreateView("Property Panel", propname);
view.BeginEdit();
//view.Move(posx, posy)
view.Resize(width, height);
view.SetAttributeValue("targetcontent", propname);
view.EndEdit();
}
inspect_property("bone.kine.global", 400, 800);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment