I am seeing an error that states "Relation defined out of context" within an assembly driven sheet metal part.
My goal is to take the offset of a plane in the assembly, and use that distance as a variable inside a part.
I created the link this way:
1. Create global variable in assembly from dimension that positions plane
2. Create global variable inside the part = to the variable inside the assembly.
When the assembly is open or if I am editing the part inside the context of the assembly, no errors.
But of the part is open on it's own, that's when I see the error.
Down the road, the part will be it's own draft. I need the draft to update from changes to the plane in the assembly. I assume the error would prevent me from doing that.
Is there a solution to this? My current work around would be to add a sketch inside the part that measures the relative position of two assembly planes and use that instead of the link from the assembly global variable.
The reason I don't like the work around is I have many parts in the same boat for the one assembly. To me it makes more sense to have one assembly global variable the drives many parts rather than add a new raw sketch and dimension inside many parts.
Hello,
Any file can reference the equations file you created, so repeat the above for each part as needed from step #3.
Reminder: The equations file is included with a pack and go.
Before you export, enter some explanation in the comment column of the assembly's gv and this text will be written to the equations file so there will be some reference text for others to see (thank you to Rob Edwards for this idea).
Cheers,
Kevin