Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there,
having a part open and running a rule I check wether it is generated by the content center:
If doc.PropertySets.PropertySetExists("ContentCenter") = True
an alternative would be:
'If Err.Number = 0 then it is a CC-part If Err.Number = 0 Then 'If True then custom CC-part If iProperties.Value("ContentCenter", "IsCustomPart") = True Then MessageBox.Show("Custom CC-part") Else MessageBox.Show("Standard CC-part") End If
I would now like to check which category the part originates from, not the family, similar to the following i guess?
ThisApplication.ContentCenter.TreeViewTopNode.ChildNodes.Item("Profile")
How do i simply read the DisplayName of the category or likely?
Thanks for your help in advance.
Solved! Go to Solution.