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 part and assembly

Nero8

New member
Hi,


Iwould be very grateful if someone could help me with this problem.


I am wondering if its possible to use thesame part that is build with relations in two different assemblys? It's currently working perfect in one assembly but when i try to control the same part but in a different assembly, then it
 
The reson it doesn't work is thatthe session ID (the part after the :) is different, so the part can'tfind where it's supposed to look for the parameter.


This is probably the closest thing to look at (in the help files)
<H1>Example: A Parametric Design for a Blender Cover</H1>
 
you could do it the other way, drive your part by a relation in your assembly:
A:2421=A
B:2421=B
where 2421 is the SID of your part.
Reinhard
 
Can you not use flexible component feature? I'm always wary of driving part level dimensions from a higher level. You lose track of which assembly is controlling it, You could end up changing the part dimensions unintentionally somewhere down the line or vice versa or your assembly may not update if you redefine how a part is dimensioned. I just think it's a dangerous thing to do.
 
Thanks guys for your help, the solution is to use Component ID instead of Session ID. I am using for examplethis codein one ofthe assembly relations:


A:CID_44=A


B:CID_44=B


Now it's working perfect. The number 44 is the Component ID, this number is unique/different in every assembly. This means that i can use the same part in any assembly, justby changing the CID number.
 

Sponsor

Articles From 3DCAD World

Back
Top