Reply

How to delete part.

[ Edited ]

Hi all. 

I'm trying to delete part using vb.net. 

There is a simple box in Solid Edge and I want to delete the part clicking a button. 

I already made a button named "Delete" and double clicked it. 

Please give me any ideas. thank you.

 

Posted by: Doyoung Park
Post date: 10/24/2010 11:10:26 PM

3 REPLIES

RE: How to delete part.

[ Edited ]

Hi

 

Can you be a bit more specific? Are you trying to delete a part out of an assembly? If so, there is a Delete() method on the Occurrence object.

 

If you let me know a bit more about what you are trying to do and post the code you've got so far I should be able to help.

 

Cheers

Calum

 

Posted by: Calum McLellan
Post date: 10/26/2010 11:57:18 AM

RE: How to delete part.

[ Edited ]

Hi Park,

 

If you want to delete a part from the assembly, first you need to find out the Occurrence of that part, define that object as a part and then use delete to delete that part rather than Occurrence. try this method.

 

sandeep s

 

Posted by: Sandeep Shewale
Post date: 10/26/2010 5:39:31 PM

RE: How to delete part.

[ Edited ]

Thanks a bunch to Calum and Sandeep.

 

Ultimately, I'd like to modify several parts changing variable values in an assembly mode. and some features such as holes and radius are able to be suppressed or deleted.

 

for the more detail, I'll post a new question.

 

With best regards,

 

 

 

 

 

 

 

 

 

Posted by: Doyoung Park
Post date: 11/1/2010 2:40:51 PM