iLogic parts in assembly "Add to new folder"

iLogic parts in assembly "Add to new folder"

mallorn
Advocate Advocate
656 Views
1 Reply
Message 1 of 2

iLogic parts in assembly "Add to new folder"

mallorn
Advocate
Advocate

Hello,

How can I re-organize with iLogic the tree of parts in assembly, using "Add to new folder" way?

Regards

-------------------------
Tomasz Malinowski
0 Likes
657 Views
1 Reply
Reply (1)
Message 2 of 2

mcgyvr
Consultant
Consultant

You would use the browserfolders.add method..

BrowserFolder.Add Method

Description

Method that adds a node to the folder. The node is automatically reordered in the browser if required. If the node cannot be reordered as needed, the method returns an error.

Syntax

BrowserFolder.Add( BrowserNode As BrowserNode, [TargetNode] As Variant, [Before] As Boolean )

Parameters

Name Type Description
BrowserNode BrowserNode Input BrowserNode object that specifies the object to be moved into the folder.
TargetNode Variant Optional input BrowserNode object that specifies the object within the folder adjacent to which the input node should be positioned. This node should be found directly under the folder, else the method returns an error. If not specified, the node is added to the top of the list in the folder.

This is an optional argument whose default value is null.
Before Boolean Optional input Boolean that specifies whether the input node should be moved before or after the target node. If not specified, the node is positioned after the target node. This argument is ignored if the TargetNode argument is not specified.

This is an optional argument whose default value is False.

 

More here..

https://forums.autodesk.com/t5/inventor-customization/adding-file-to-a-browser-folder/td-p/3535756

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes