Stale child assembly
I have a nested assembly that I fail to animate. Please see the attached zip file.
My task is to rotate the middle part. The lowest member in the hierarchy should keep its position with respect to the middle part, rorate with it.
How to see what happens:
Open Z_AxisLinearArm.FCStd
Run commands:
Code: Select all
App.getDocument("A_Axis_RotationalArm").getObject("A_Axis_RotationalArmPart").AttachmentOffset=App.Placement(App.Vector(0.0,0.0,0.0),App.Rotation(45.0,0.0,0.0),App.Vector(0.0,0.0,0.0));
App.ActiveDocument.recompute();
The middle part A_Axis_RotationalArm rotates as expected.
But the lowest member in that hierarchy B_AxisTorch remains in its old position relative to Z_AxisLinearArm
There is an intriguing aspect here which is that LCS_B_AxisTorchPart has Attachment Support YZ_Plane001 which is a name that exists in two models A_Axis_RotationalArm and Z_AxisLinearArm so one guess is that perhaps this cannot be resolved properly.
As you can see, the LCS_B_AxisTorchPart does not move, it does not rotate with the model that it belongs to.
I don't really know how to solve this, so some insight would be appreciated.