Script to assign colour to the property based on its thickness or name

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

Hello Members,

I'm looking forward for the script to assign the colour to property based on its thickness. Please  help me out

Answers

  • tinh
    tinh Altair Community Member
    edited October 2018

    Hi

    Forr each prop, find it's thickness and map it with a color then change the prop's color by this new one

  • imoto
    imoto
    Altair Employee
    edited October 2018

    If you using HyperMesh, Just set the 'By Thickness' mode.

     

    *setelementcolormode 4;

    <?xml version="1.0" encoding="UTF-8"?>Contour.jpg

  • jegan260
    jegan260 Altair Community Member
    edited August 2019

    Thank you for your valuable information.