Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Relations Help

cem385

New member
I have a family tabled part that I'm trying to setup a relationship for. I've created a parameter called "CONFIG" In the family table I have 3 different cuts set to yes or no depending on the config you want. I'd like to be able to have my CONFIG parameter fill it self out with either 1, 2, or 3 based on what cut is set to yes or no. I'm not sure if I can do an if than statement and if a feature id can even be used in a relation.


example:


IF F1738=Y


THEN CONFIG=1


F1738 Is the id for the cut but proe doesn't recognize it
smiley19.gif



Thanks
 
Try with the following relations...


if exists ("par:fid_25:cid_12") CONFIG=1


endif





where exists ("par:fid_25:cid_12")controls if ID feature 25 into ID component 12exixts parameter "par"
 
Not sure about your intent here but cant you reverse it and drive your design with your"config" parameter using Pro/Program?


Example:


IF CONFIG==1
ADD FEATURE........
.....
.....
ENDIF


IF CONFIG==2
ADD SUPRESSED FEATURE........
.....
.....
ENDIF
 

Sponsor

Back
Top