Quantcast
Channel: PTC Community : Unanswered Discussions - Modeling
Viewing all articles
Browse latest Browse all 2891

Feature selection in a relation

$
0
0

I have a family table that I am building of hex head screws. I want to put the material marking on the head and it varies depending on the nominal diameter of the screw. I have created the 2 markings and currently have them added to my family table so a Y or N will select the proper one. Since I have the diameter driving the head in an IF/ENDIF section in the relations, How do I add a feature inside the IF/ENDIF segment for each size.

 

Something like this:

 

IF basic =='1/2"

   nominal = .500

   hd_flat = .750

   hd_thk = .375

   fid:head_mark_c = yes

   fid:head_mark_d = no

ENDIF

 

Is that even possible in a relation or must I move some of this code to Pro/Program? I will probably leave the Y/N columns in the family table if I can't do it in relations.

 

Creo 2 M240

Windchill 10.0 M040


Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>