🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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!!