OptQuest exception when adding Constraint

OptQuest exception when adding Constraint

__ANON_USER__1
Not applicable
51 Views
2 Replies
Message 1 of 3

OptQuest exception when adding Constraint

__ANON_USER__1
Not applicable

[ FlexSim 21.0.8 ]

It seems this is a file specific, but constrains button doesn't work on this file. ( nothing happens.)
image.png
This plus button doesn't work with any Japanese version.
But only with the 21.0.3 English version, we can add constrains from this plus button.
(The newer English version doesn't work.)

We can't duplicate this with other files, so we're not sure what causes this problem.
If you have any idea on this, please let us know. This issues seems similar to https://answers.flexsim.com/questions/106621/flexscript-exception-when-adding-optquest-constrai.html
52 Views
2 Replies
Replies (2)
Message 2 of 3

__ANON_USER__1
Not applicable

0 Likes
Message 3 of 3

JordanLJohnson
Autodesk
Autodesk

The issue is an extra node, "MODEL:/Tools/OptQuest/reference":

1636125588294.png

The top node is invalid, and should be deleted. Then you can add constraints.

This still leave the true bug, which is how that invalid node was created. I will add that issue to the dev list.

As far as translation, these nodes are not easily translated at the moment. If you change the name of "Equation", you'll need to also change the code in the main tree on line 19 of MAIN:/project/exec/optquest/definitionLogic/addConstraint. In addition, you'd need to change line 193 of MAIN:/project/exec/optquest/init. There may be other placed in the code that specifically mention "Equation", which would also need to be translated.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes