GRADE CUT -VALIDATE WITH ILOGIC

GRADE CUT -VALIDATE WITH ILOGIC

Luis_Pacheco_3D
Advocate Advocate
353 Views
3 Replies
Message 1 of 4

GRADE CUT -VALIDATE WITH ILOGIC

Luis_Pacheco_3D
Advocate
Advocate

Hi everyone.

 

Is it possible to check if the part has a grade cut?

Luis_Pacheco_3D_0-1698250657921.png

This type of part has a custom ipropierties named "condicion_corte = Grado + CNC", what I am trying to do is validate if the part has a Grade Cut, the Custom Iproperties must contain the word "Grado", if not, launch an alert ( Message box)

 

 

0 Likes
354 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

Hi @Luis_Pacheco_3D.  What do you mean by a grade cut?  Are you talking about an Extrude feature that you have set to Cut (instead of Join, Intersect, or New body)?  If so, then is there only one extrude feature in the part, or multiple?  If multiple, then the iLogic rule used to figure this out would need to know which one to inspect, or maybe to inspect all extrude features.  If it is an extrude feature, then by grade do you mean the taper angle of the cut being set to a value other than zero?  Or are you talking about a Draft feature, or maybe a Chamfer feature?  Please be as specific and detailed as possible.  Correct terminology is important.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

Luis_Pacheco_3D
Advocate
Advocate

My apologies, it´s a split(Trim Solid), done through a sketch block.

 

Luis_Pacheco_3D_0-1698259965548.png

 

I make two side cuts on the piece, I want to check if any of the two cuts have a grade. If you need other information, just let me know.

I must do the verification in several assemblies. 

Luis_Pacheco_3D_0-1698260947793.png

 

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor

Hi @Luis_Pacheco_3D.  Since I was not sure what your overall process might look like, or what your next steps may be, I customized two different possible solutions for you.  I have attached two text files to this response, which contain code for different iLogic rules you may be able to use in this project.  One is more of an exploration of the features themselves within the parts, attempting to figure out that 'grade' thing, and just writes some feedback to the iLogic Log window.  The other just looks for the specifically named custom iProperty that contains the specific word within its value.  Let me know how they work for you.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes