Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. 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