Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Hi Gents, Does anyone know of a 1

Status
Not open for further replies.

Alan Lowbands

Aerospace
May 17, 2017
274
Hi Gents,

Does anyone know of a way to delete a material from inside a part body ?
Pulling my last few remaining hairs out trying to find a way.

thanks
Alan
 
Replies continue below

Recommended for you

Click on material parameter, insert in new geometric set then delete said geoset.
#justcatiathings
 
doesn't selection.delete work? on the material item, not the material parameter...

regards,
LWolf
 
Thanks for the replies.
I can delete the material type but it leaves a material box inside the part body.
Total pain.

LWolf, could you point me in the direction of any script or give me some pointers on how to do it please ?
 
yeah, there still will be a material box left... but with Material=None
Code:
Dim Selection1
Set Selection1 = CATIA.ActiveDocument.Selection
Selection1.Delete
MaterialDelete_mffyeh.gif


regards,
LWolf
 
As I said, insert material property into geoset, then delete geoset. Problem solved.

asd_fuqzgb.png
 
Wuzhee,

Couldnt get it to work first time but thanks for sending again.
Thats genius :)

Thanks all for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor