Message 1 of 7
Ilogic to Identify ContentTreeViewNode of the selected content center component

Not applicable
09-02-2013
12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I would like to know, is there any possible way to identify the Tree View names of the selected part.
We can assaign Tree view node,
Dim oContentNode As ContentTreeViewNode
oContentNode = oContentCenter.TreeViewTopNode.ChildNodes.Item("Tube & Pipe").ChildNodes.Item("Conduits").ChildNodes.Item("Pipes")
DimoFamilyAsContentFamily
ForEachoFamilyInoContentNode.Families
IfoFamily.DisplayName= "ANSI/ASME B36.19M Pipe" Then
ExitFor
EndIf
Next
but i would like to get the details of the selected part.
Dim oOcc = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyOccurrenceFilter,"Select Component to replace:")
ie, i would like to get the selected part - ContentTreeViewNode details.
Thanks in advance