Remove/Delete/Undo Parts

Remove/Delete/Undo Parts

Anonymous
Not applicable
15,136 Views
4 Replies
Message 1 of 5

Remove/Delete/Undo Parts

Anonymous
Not applicable

 
I have splitted the wall into parts. Now I want to remove the parts and keep the original wall. How do I remove/delete/undo the parts that have already been created? I have the partids which I would like to remove.
.ActiveDoc.Delete(partid) doesn't work out and throws an error.

0 Likes
15,137 Views
4 Replies
Replies (4)
Message 2 of 5

BardiaJahan
Advocate
Advocate
0 Likes
Message 3 of 5

Anonymous
Not applicable

Delete teh parts manager for the element.  Code sample here:

 

http://stackoverflow.com/questions/40939417/remove-delete-undo-parts/40941969#40941969

0 Likes
Message 4 of 5

c.schoneveld
Advocate
Advocate

Just hit delete....

Message 5 of 5

212156470
Community Visitor
Community Visitor

Simply select one of the parts of the wall and hit delete. It will brin up an error message... hit "Delete Element". It will leave a kind of a void where the part was. Select again that 'voided' part and go ahead to delete it too. It will again bring up the error message... proceed with deleting the element.

 

Then the wall will reset to its original state, which you could divide parts again if you wish.

0 Likes