BrowserNode Object
Description
The BrowserNode object represents a node in the browser.
Methods
AddChild |
Method that creates a new as a nested child of this one. The new BrowserNode is returned. |
AllReferencedNodes |
Method that returns all browser nodes referencing the specified BrowserNodeDefinition below this BrowserNode. For instance, in the case of a shared sketch, two browser nodes reference the same definition. |
Delete |
Method that deletes the browser node. All of its child browser nodes are deleted as well. None of the corresponding browser node definitions nor the client node resources are deleted, however. This method will fail for built-in browser nodes. |
DoPreSelect |
This method will simulate a mouse hover on the browser node. |
DoSelect |
This method will simulate a mouse click on the browser node. |
EnsureVisible |
Method that ensures the BrowserNode object is visible. |
InsertChild |
Method that creates a new BrowserNode at the specified location. The new BrowserNode is returned. |
Properties
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. |
BrowserFolders |
Property that returns a collection of all browser folders contained directly under this node in the browser. |
BrowserNodeDefinition |
Property that returns a object which defines the various inputs that were used to create the browser node. |
BrowserNodes |
Property that returns a collection of the top level BrowserNode objects contained under this node. |
Expanded |
Specifies the BrowserNode object is expanded. |
FullPath |
Gets the fully qualified label of the BrowserNode. |
NativeObject |
Gets the object in the context of the definition instead of the containing assembly. |
Parent |
Property that returns the parent of the BrowserNode object. This may either be another BrowserNode or a BrowserPane. |
Selected |
Property that returns whether the object is selected or not. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Visible |
Gets and sets whether the browser node is visible or not. |
Accessed From
BrowserFolder.BrowserNode,
BrowserNode.AddChild,
BrowserNode.InsertChild,
BrowserNodesEnumerator.Item,
BrowserNodesEnumerator.ItemById,
BrowserPane.GetBrowserNodeFromObject,
BrowserPane.TopNode,
ClientFeature.BrowserNode,
ClientFeatureProxy.BrowserNode
Samples
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 8