Create accelerometer using TCL

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

Please Tell me to Create accelerometer using TCL. 

Steps followed manually:

1. Right click in entity browser and create accelerometer.

2. In the entity editor, go nodes option. select a base node (N1) and x-axis node as N2 and the adjacent as N3. That is accelerometers should orient along global axis.

 

 

Please help me

<?xml version="1.0" encoding="UTF-8"?>image.png

Tagged:

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited April 2018

    Hi Jouher,

     

    Set the node IDs based on your axis. 

     

    *createentity accelerometers name=accelerometer1
    *setvalue accelerometers name=accelerometer1 STATUS=2 multi_nodes={nodes 900 1504 1537}

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited April 2018

    'Set the node IDs based on your axis.'

    Please explain me the logic for this. I have to get everything automatically