🎉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

TCL script to automatically assign material properties

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi,

 

I need to create a TCL script that automatically assigns material properties to individual CBEAM elements in a component composed of a large number of CBEAM elements. I am essentially creating a lattice within a component but using CBEAM elements. Does anyone have any advice regarding the script, or how I would go about doing it?

 

Kind Regards,

 

Laurence Maskell

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi

    You access the TCL scripts from below location 

    https://connect.altair.com/CP/script-list.html

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

    Hi Maskell,

     

    Find the property ID (assuming the correct material is assigned) you want to set to the CBEAM element. If property is different for different CBEAM elements, you will have to come up with some naming convention to find the correct propID. 

    Find the Component ID where the CBEAM is present and set the property using:

     *setvalue comps id=$n_compID propertyid={props $n_propID}