Toolbar Panel/Shelf Attributes
View attributes for the Toolbar Panel and Shelf. Some of these attributes are available for View.GetAttributeValue and View.SetAttributeValue but some are only available for View.GetAttributeValue. Check the third column in the table.
|
Attribute Name |
Description |
Supports |
|
activetab |
Specifies which tab is active when the shelf is first opened. You can only set this attribute before the toolbar opens but you can get it as many times as you like. Possible Values: • <tab index number> The string representation of the index number of the tab to make active or that is already active. (available for getting and setting). • <tab name> The name of the tab to make active (available for setting only). |
• Get • Set |
|
displaymode |
Specifies how the shelf contents are displayed. Possible Values: • thumbnail only Thumbnail Only. • text only Text Only. • thumbnail + text Thumbnail and Text. |
• Set |
|
filepath |
The path of a directory whose contents are to be displayed (if the shelf is a folder type). This overrides the default setting in the shelf itself. Possible Values: • <any valid filepath> The path and filename of an existing folder to display. You can use the values of environment variables in the path (for example, "$mytextures"). You can also use UNC paths (for example, "\\sysadmin\public\ready"). |
• Get • Set |
|
filetype |
The file extensions of the file types to display (if the shelf is a folder type). Use semicolons to separate multiple extensions, for example, "*.mdl; *.emdl". Possible Values: • <any file extension> When you set this attribute, the contents of your folder tab will be filtered to only include files with the specified folder type(s). |
• Get • Set |
|
showtabs |
Controls whether tabs are displayed or not in the pane. Possible Values: • 'true' Organized on tabs. Note: Use the string "true", not the binary true. • 'false' Display as groups. Note: Use the string "false", not the binary false. |
• Set |
|
targetcontent |
If the view is driven by a relationship (tab type = "driven"), you can specify a list of elements to display in the shelf when it is first opened. This content can be replaced dynamically. Possible Values: <list of elements> A comma-delimited list of elements. |
• Set |
![]()
|
See View Attributes for a complete list of types of attributes that you can use when customizing your Relational Views. |
Autodesk Softimage v7.5