Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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