Assembly: Fix error message flexible assembly #22561

This commit is contained in:
PaddleStroke
2025-07-18 18:16:27 +02:00
committed by Chris Hennes
parent 117b3352b4
commit 207e6b576d

View File

@@ -624,6 +624,8 @@ class Joint:
if (
hasattr(joint, "Reference1")
and joint.Reference1 is not None
and len(joint.Reference1) == 2
and len(joint.Reference1[1]) != 0
and (joint.Reference1[1][0].find("?") != -1)
):
raise Exception(errStr + "Reference1")
@@ -631,6 +633,8 @@ class Joint:
if (
hasattr(joint, "Reference2")
and joint.Reference2 is not None
and len(joint.Reference2) == 2
and len(joint.Reference2[1]) != 0
and (joint.Reference2[1][0].find("?") != -1)
):
raise Exception(errStr + "Reference2")