Average multiple curves

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello,

 

i want to average multiple curves into one curve. 

I know that u can solve this  with a macro funktion, but i dont have the syntax neither i know wich function i have to select and how to programm it.

Can someone help me out please.

<?xml version="1.0" encoding="UTF-8"?>Unbenannt.thumb.PNG.b22ce91488a5f50524f36f0e4b825406.PNGUnbenannt2.PNG.aac62ac020f6a9adb206012fbd676ef6.PNG

<?xml version="1.0" encoding="UTF-8"?>Unbenannt.PNG

Welcome!

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

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited November 2020

    You need to configure MVP toolbar to accomplish this task.PFA executable ,steps to configure :

    Please follow the steps below to configure: 

    1.       Unzip the 'MVP_Toolbar.zip' in a directory of your choice   Note: the directory structure must be the same as in the zip file!

    2.       Open the file “<Altair_Home>/hw/.preferences.mvw” (from the Hyperworks install directory) in a text editor

    3.       Insert the following line at the end of the file, I am attaching a sample preference file FYR.

    {mvp_toolbar_dir = '<Path of MVP unzipped folder>/MVP_Toolbar';include(mvp_toolbar_dir + '/preferences_macro.mvw')}

     

    Averaging video is attached for you reference.

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2020

    Hell Rahul,

     

    thank you for the fast answer. But i got an error i cant fix.

    The funktion 'resmatcurves' says that my values are out of Range. I attached the Data and the Error Protocol.

     

     

    Unable to find an attachment - read this blog

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited April 2018

    Unable to copy above shared file.Please attach above shared file again.

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited November 2020

    My bad, I forgot to share required .mvw and tcl file.PFA same.

    Unable to find an attachment - read this blog

  • Hung Tran
    Hung Tran Altair Community Member
    edited November 2020

    My bad, I forgot to share required .mvw and tcl file.PFA same.

    Hi mr. Rahul, 

    I can't download your file, it is not found. 

    Please re-attach this file. 

     

    Thank you very much !!

    Unable to find an attachment - read this blog

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited July 2020

    Just to make everyone aware that these kind of multiple curve operation no longer needs MVPToolbar.

     

    They are available in the core product itself.

     

    Just select all your curves and RMB.

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

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.