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 in assembly mode

2ms1

New member
I am attempting to apply the following relations to the assembly seen below. Could someone explain what the two error messages mean?

/*--------------------------------------------
/*-------------------------------------------
/* joint width
jointW=43
springSize="small"
/*-------------------------------------------
/*--------------------------------------------

IF springSize=="small"
springWidth=18
Else
springWidth=38
ENDIF


endExtrude=jointW/2-springWidth/2
innerExtrudeS=springWidth/2
innerExtrudeL=endExtrude+springWidth/2
d0:4=endExtrude
errorCannot assign to a part-driven value.
d0:6=endExtrude
d5:6=innerExtrudeS
d4:4=innerExtrudeL
errorCannot assign to a part-driven value.

View attachment 2385





2006-06-14_192035_joint1_1.asm.zip
 
I updated the zip file posted to include all the parts that assembly uses (i forgot to do that before).

What's a part-driven value? If I atleast knew what that was then Id be in much better position for figuring out how to get rid of the damn error


2006-06-16_005653_joint1_1.asm.zip
 
"a Driven value" = already has a formula attached to it or something generating the value for it. Just go through ur model's and make sure ur not trying to change the same value more than once.
 
Ahh. Yes the problem was that I had relations being specified within the individual parts (ie relations were specified within the files for individual parts). Thus, it was invalid to apply relations that overlapped in the assembly file. Solution was to apply all the relations in the assembly file
 

Sponsor

Back
Top