v5.0
View attributes for the Property Panel. Using this from scripting is similar to the InspectObj command, although InspectObj is more flexible and powerful. Not all attributes support both setting and getting. Check the third column in the table.
Note | See ViewAttributes for a complete list of types of attributes that you can use when customizing your Relational Views. |
Attribute Name | Description | Supports | ||||
---|---|---|---|---|---|---|
targetcontent | The name of a property set to view, such as
"preferences.modeling". When the property that the panel references
is deleted, the panel contents are removed. When a new scene is
created or loaded, the property panel tries to resolve the
targetcontent path and display it again. This is useful for
displaying information about elements that are always present in a
scene but may be destroyed and recreated when you switch
scenes. If the view is driven by a relationship, this content can be replaced dynamically. You can also control this attribute programmatically even if the view is not driven. See the View object for an example using this attribute.
|
View.GetAttributeValue and View.SetAttributeValue. | ||||
keywords | Specifies which property set(s) appears for the specified object (eg., all, general, modeling, kinematics, animation, custom, rendering, simulation, viewing, etc.). Possible values are dictated by that kind of property set will be displayed (see the targetcontent attribute). For example, if you set targetcontent to "preferences.modeling", the keywords value will be ignored; however, if you set targetcontent to "sphere", you can limit the properties on the panel to the kinematics, viewing, etc. | View.SetAttributeValue only. |