I'm assigning a User Parameter to a Joint, as its rotation value. When I click "Compute All" to update the rotation value (changing the user parameter value does not update automatically), the assignation of that parameter to the joint is removed. This happens to all the joints in the document, if there are multiple.
Steps to reproduce:
1-Create a simple hinge Joint between two components and a parameter of type deg and value of 90º
2-Assign the parameter to the Rotation of the joint
3-Click Modify->Compute All(Ctrl+B)
4-Check the Rotation value, the parameter is no longer assigned
Version info:
2.0.10356
Windows 10 (19043)
Solved! Go to Solution.
Solved by jeff_strater. Go to Solution.
I highly doubt that Compute All would remove a parameter reference. Can you check, in the Parameter dialog, that the user parameter is actually used in the Joint after creation? There are some commands that have bugs where a parameter reference is not correctly captured. If this is one, we'd like to know so that we can fix it.
Works ok, here (and what I would expect)
drag the component, do not Capture Position, Compute All or Revert returns to parameter angle.
drag the component, Capture Position, Compute All, ignores parameter angle.
Edit the Parameter angle updates as expected.
Might help....
That would be difficult... I'm using a model with Ball joints already applied (the revolute joint shown here is a simplification to better illustrate the problem, that also happens with ball joints), and the rigid joint does not allow 3 axis of movement...
The user parameter is, as far as I know, not "actually used" in the Joint, because the rotation angle of the joint is not displayed in the Model parameters, only the alignAngle, which is not the same as the rotation Angle. (I'm actually using user parameters as a workaround to modify this rotation value with a macro, and I intended to do so using the model parameter (d9), but that is not the angle I want to modify)
Picture below with the UserParameter Assigned to the rotation Angle:
After your reply, I could not find the other Angle you are mentioning either.
But if you don't refer to the User parameter you created, why would you expect it to follow on.
Your D9 is not referencing the User Parameter, just the angle you put in the Dialogue box.
So if I edit the Parameter my component angle updates, there is no option to capture this change, due most likely because it is a variable angle, and Fusion knows that.
A Ball Joint will have more angles, but I have not much experience with those (Joints).
Might help.....
Yes, a parameter there works for me too, but that is the "Joint Alignment Angle", equivalent to this angle in the joint editor. That's why d9 is not referenced to the parameter, because it's not the angle I want to assign to the parameter:
(This one updates)
The one that doesn't update is when I double click the joint in the 3D view and insert the parameter for the angle value there (which is a different angle to the alignment one, different axis), this one doesn't appear as a parameter in the parameter window... maybe it's not intended to be linked to a parameter?
(This one doesn't update and loses the reference on Compute All )
Ah, OK. Yes, the current rotation angle of a joint is not exposed as a parameter. The Alignment Angle is only the initial alignment adjustment here:
Today, there is no way to parametrically drive a joint from a parameter, mostly because component position itself is not recorded as a feature, outside of Capture Position, and that feature just records the transforms of all components that have moved, regardless of the method by which is was moved (joints, move, drag).
Well you both have me lost,
I can update the Joint angle with the parameter window as provided, how is it not the right one?
As for Drive Joint no, I did not go there because Change Parameter gets it done, and @Anonymous agrees with me,
that works but not what I want.
@davebYYPCU - the semantics are a bit different. When you change that orientation angle, you are effectively changing the home position of the joint. Another way of looking at it is: You are changing the orientation of the components before the joint is applied (that is why that angle appears on the Position tab of the dialog). That angle is available for Rigid Joint, as well as the Ball Joint (which has lots more angles to deal with). It just so happens that, for Revolute, there is only one angle involved in the Joint, so it has the same effect of moving the component in the same way that the Joint does, so it "works", but will only really work for Revolute. So, yes and no, I guess
Can't find what you're looking for? Ask the community or share your knowledge.