Deleting a section

Technical discussions
Post Reply
Warren
Posts: 7
Joined: Thu Mar 30, 2017 4:33 am

Deleting a section

Post by Warren »

Hi
I have few questions
What I need shortly is:
How to delete a Section ? Right now, I create a new Section each time I make a change to the tooth definition; I want to either be able to delete the current Section, or else replace its content.
The others to follow
Thank you

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Deleting a section

Post by nickz »

Hi Warren
It sounds that you need it for modification of the (meshed) surface? The easiest way is via: IMesh > IMeshMods > Clear(). This will remove all elements from the mesh. You can call your normal procedure for the mesh construction afterwards

IModel2 and ISection have methods to delete a particular top section or a child. To do this by using an index you need to Query IArray or IArray2 from the model for top-level sections or from the section for its children

Post Reply