Message 1 of 6
iLogic: How to get specific ContentCenter family (by name)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to get specific Content Center family directly by name.
But it seems there are only three ways how to get specific family.
- To know a family .InternalName (something like "v3#5c68ec2d-1eba-4318-a3c9-f89754837064#"). It returns family instantly, but I didn't find it in GUI. (And when I want to use this approach, I need to use 3rd way prior, to know InternalName)
- To know a family position in Content Center and use cascade of ChildNodes.Item(). ...ContentTreeViewNode.ChildNodes.Item(a).ChildNodes.Item(b)....ChildNodes.Item(z).Families.Item(aa)
Sigh! I don't like this long address method.
- To iterate trough all Content Center TreeViewNodes and their Families and check Family.DisplayName for match. I'm using this method now, but it takes a LOT of time.
Or is there fourth way how to achieve this?
Thanks.
Inventor 2022, Windows 10 Pro
Sorry for bad English.