Create Measure - Distance between and write result to file

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited December 2023 in Altair Exchange

Overview

This script will create a HyperView measure entity of type Distance Between for 2 nodes.

For the current displayed time step / increment it will write the MAG/X/ Y/Z distance values to an external file and to the TCL Console.

Pre-Requisite

Edit lines 9 / 10 to define node-IDs to be used in the distance calculation.

Usage/Installation Instructions

Run script e.g. from DropDown  File > Load > Script

(optional) open TCL Console from View DropDown.

 

Measure of Type Distance Between will be created.

image

 

The MAG/X/Y/Z values of the distance measure for current time step / increment will be written to the TCL Console, and to a CSV file located in same folder as the script.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.