cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Summary - Relations evaluated on one instance only

Topaz II

Summary - Relations evaluated on one instance only

Thanks to Robert for this suggestion, which worked perfectly:



Not totally sure if this will work, but you could try writing a relation
(feature or part) something like:



IF REL_MODEL_NAME == "name of instance you want to drive"

d# =

ENDIF



and then fill out the rest of the instances in the family table.  I
would think this should only drive the one instance. 



I added an ELSE statement to drive the other instances by a different
relation.



Very nice, thanks again.



Doug Schaefer
--
Doug Schaefer | Engineering Manager
Crow Works
2 REPLIES 2

Summary - Relations evaluated on one instance only

Since the list likes hints from Joel <joelonsoftware.com>

Write the comparison as IF "name of instance you want to drive" == REL_MODEL_NAME
That way, if you mess up and type = instead of ==, you get an error rather than an incorrect assignment that can be very difficult to find.

Summary - Relations evaluated on one instance only

Great point. These are the subtle things separate great software
programmers from the herd...





Christopher F. Gosnell



FPD Company

124 Hidden Valley Road

McMurray, PA 15317