All you need is a 3DEXPERIENCE ID.
I'm looping through Tree Control Items and getting feature definitions of weldments. The code gets called from a loop that resides in my main sub. Excluding required variable declarations, the code is as follows.
Do While Not swChildFeatNode Is Nothing
If InStr(swChildFeatNode.Text, "Cut list") > 0 Then
Set swRootFeatNode = swChildFeatNode
Set swChildFeatNode = swRootFeatNode.GetFirstChil