
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am having a lot of trouble eliminating an error when deleting a grouptype programmatically after the groupinstance was deleted from the model.
This dis not happen in all cases... this only happens when the grouptype is composed of groups like the Grouptype highlighted in Yellow in fig 1, bellow.
fig 1.
first I select the group instance to delete in fig 1.
fig 2.
Fig 2 is the model with the instance deleted.
fig 3.
Here is the error I am getting once I try to delete the Grouptype "With Radiator" (highlighted in fig 1.). I am using a try/catch block to do this.
because my problem only stems from deleting a group composed of groups(like "With Radiator")... I want to be able to identify groups where this is the case. I can't see anything in the GroupType or ElementType classes which would allow me do this.
Thank you in advance,
Mendo
Solved! Go to Solution.