Get count of materials

User: "Ajinkya Gaikwad"
Altair Community Member
Updated by Ajinkya Gaikwad

Hi,

Is there any command which can return the total count of materials. I want to further use that count in looping.

thanks

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "PrasannaK"
    Altair Employee
    Updated by PrasannaK

    Hi Ajinkya,

     

    You can use the following command to return count of material:

     

    *createmark materials 1 all

    hm_marklength materials 1

     

    Thank you

    User: "sandeepballiwar"
    New Altair Community Member
    Updated by sandeepballiwar

    You can use the following command to get total count of materials in model

     

    hm_count materials all 0 0

     

     

    User: "Ajinkya Gaikwad"
    Altair Community Member
    OP
    Updated by Ajinkya Gaikwad

    Thanks A lot it worked!!