Share

BrowserPanes Object


Description

The BrowserPanes object provides access to the existing objects of the browser and allows you to create additional panes. See the article in the overviews section.

Methods

Name Description
Add Method that creates and returns a new BrowserPane object. The BrowserPane created is one that is explicitly used to house ActiveX controls.
AddByManifest Method that creates and returns a new BrowserPane object. The BrowserPane created is one that is explicitly used to house un-registered ActiveX Controls.
AddTreeBrowserPane Method that creates and returns a new BrowserPane object. The BrowserPane created is one in which Inventor's BrowserTreeNodes can be instanced to generate a completely customizable tree view.
CreateBrowserNodeDefinition Method that creates a new The definition object can then be further used to construct ClientBrowserNodes that make up the tree in a custom tree-browser pane. The new ClientBrowserNodeDefinition is returned. Note that this node definition object is constructed and has an identity within the 'name space' or context of the entire owning document.
GetClientBrowserNodeDefinition Method that returns the specified ClientBrowserNodeDefinition.
GetNativeBrowserNodeDefinition Method to obtain the NativeBrowserNodeDefinition object corresponding to a data model object.Also see CreateNativeBrowserNodeDefinition for information on creating a new client browser node definition.
GetNativeBrowserNodeDefinitionWithOptions Method that returns the NativeBrowserNodeDefinition that corresponds to the input object.

Properties

Name Description
ActivePane Property that returns the that is currently being displayed.
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
BrowserPanesEvents Property that returns the events sink object for the BrowserPanes object.
ClientNodeResources Property that returns the collection of ClientNodeResource objects. A ClientNodeResource holds the icons necessary to define the open, closed and status images for all of the ClientBrowserNodes associated with this document. The ClientNodeResources collection has a method that allows you to add a new set of images that can then be used to create a new ClientBrowserNodeDefinition.
Count Property that returns the number of browser panes in the collection.
Item Returns the specified object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyDocument.BrowserPanes, Document.BrowserPanes, DrawingDocument.BrowserPanes, PartDocument.BrowserPanes, PresentationDocument.BrowserPanes

Samples

Name Description
Add assembly occurrences to a new folder Demonstrates assembly occurrences to a new folder
Demote occurence This sample demonstrates how to demote a top level occurrence in an assembly into a new sub-assembly occurrence.
Navigation between browser and data This sample demonstrates the navigation between a browser node and it's corresponding data model object and vice versa. This sample creates a work plane, finds its browser node and gets the work plane object back from the browser node.

Version

Introduced in version 5

Was this information helpful?