MotionView templates

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A
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}'
/>
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:
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.
 
If i try to make the next template in the tutorial i get the same problem.

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    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?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    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.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2017

    Hi,

     

    Yes, you need to take care of '`' at the beginning and at the end of the expression.