iLogic created folders disappearing from model tree

iLogic created folders disappearing from model tree

mgrenier2
Advocate Advocate
109 Views
1 Reply
Message 1 of 2

iLogic created folders disappearing from model tree

mgrenier2
Advocate
Advocate

I use this iLogic rule to create some model tree folders inside an assembly file :

Dim oDoc As Document = ThisApplication.ActiveDocument
Dim oPane As BrowserPane = oDoc.BrowserPanes.ActivePane
Dim oTopNode As BrowserNode = oPane.TopNode
Dim oFolder As BrowserFolder

Dim MyArrayList As New ArrayList
MyArrayList.Add("Boulonnerie")
MyArrayList.Add("Quincaillerie - Composantes achetées")
MyArrayList.Add("Plans, axes et Points")

For Each oVal In MyArrayList
    Try
	    oFolder = oTopNode.BrowserFolders.Item(oVal)
    Catch
        oFolder = oPane.AddBrowserFolder(oVal)
    End Try
Next

 

However whenever I drag/drop a part to the folder it justs disappear...

 

Any idea what could be going on?

 

0 Likes
110 Views
1 Reply
Reply (1)
Message 2 of 2

Frederick_Law
Mentor
Mentor

No idea.

Works in IV2023.4

Assembly with parts: run rule, drag part into folder.

New Assembly: run rule, add part, drag into folder.

0 Likes