Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Oct 9, 2018
Messages
1
Location
DE
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.
 
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

Back
Top