MotionView templates
Altair Forum User
Altair Employee
I try to do the 'MV-1051 - Understanding Sequential Simulation' tutorial with MotionView 2017.
It is the second tutorial where i get an error on creating a template.
This is what i write in the 'Write text to solver input deck:
<Constraint_Joint
id='5000'
type='FIXED'
i_marker_id='{the_model.m_slider_track.idstring}'
j_marker_id='{the_model.m_1.idstring}'
/>
It is the second tutorial where i get an error on creating a template.
This is what i write in the 'Write text to solver input deck:
<Constraint_Joint
id='5000'
type='FIXED'
i_marker_id='{the_model.m_slider_track.idstring}'
j_marker_id='{the_model.m_1.idstring}'
/>
The first marker is different from the tutorial because i type a different name. If i use the function bar and evaluate it then i can see that he found the right markers. Where is the problem in my template?
This is the error message if i check the model:
This is the error message if i check the model:
1 Error: Syntax error in expression:
<Constraint_Joint
Templex error evaluating text under The Model-Fixed Joint Defn..
Finished Checking Model
Errors were detected in the model.
<Constraint_Joint
Templex error evaluating text under The Model-Fixed Joint Defn..
Finished Checking Model
Errors were detected in the model.
If i try to make the next template in the tutorial i get the same problem.
Tagged:
0
Answers
-
Hi,
What about the variable name?
Is it same as marker name?
Can you remove 'the' for I marker id function and check if that works?
0 -
I did the tutorial complete new from the beginning again. I typed the same text.
Maybe it was the same problem i had with AcuSolve. If i copy the text from the tutorial, the sign ' was not the same one as the one that i type on the keyboard.
0 -
Hi,
Yes, you need to take care of '`' at the beginning and at the end of the expression.
0