Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting specific sketch geometry with catscript

Status
Not open for further replies.

Voxis

Mechanical
Oct 9, 2018
1
Hello there.

I am pretty new to working with macros

I am looking for a method to search and select and delete all sketch geometry inside a specific sketch. So far my attempts didn't work out. I cant find the correct search command to just search for the geometry in the specific sketch. Only for the entire Part.

Can anyone help me with this?

Thanks in advance.
 
Replies continue below

Recommended for you

what will happen to the children of this sketch? if you delete all the sketch geometry, what will be left?

regards,
LWolf
 
why don't you delete the sketch ?

Eric N.
indocti discant et ament meminisse periti
 
Hi, if you will select the sketch, you can enter the sketch and delete all geometry inside, but if you don't draw new geometry this sketch will disappear. Because you can't have empty sketch.
You can also draw new geometry with macro too. (theme on this post
So it's up to you, what you want to do.

I do some similar things, you can read more here
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor