Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
> I found a SetName command for the ModelItem interface, and tried to cast the
> featuregroup to a ModelItem, ... but the cast command throws an exception.
You cannot cast a FeatureGroup to ModelItem, because it is not derived from
that class. To make matters worse, the FeatureGroup class seems not to provide
a SetName() method, according to the docs.
Marc
--
Marc Mettes
-
Visit My CAD/PDM AutomationBlog
Or, Subscribe to My CAD/PDM Automation Blog by Email