How to know if a component is 3d or 2d using TCL?

Sachi Takalkar
Sachi Takalkar Altair Community Member
edited June 2023 in Community Q&A

I want to select only 2d components from an assembly file

Best Answer

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2023 Answer ✓

    by 2D component you mean geometry with surface only, or do you mean components that have 2d elements only?

     

    if it is elments, you could use:

    *createmark

    "by config" configsPlace entities on mark_id if they are of the specified config.All element and load config names/IDs are valid.

     

    *createmark elems 1 "by config" tria3 tria6 quad4 quad8

     

     

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2023 Answer ✓

    by 2D component you mean geometry with surface only, or do you mean components that have 2d elements only?

     

    if it is elments, you could use:

    *createmark

    "by config" configsPlace entities on mark_id if they are of the specified config.All element and load config names/IDs are valid.

     

    *createmark elems 1 "by config" tria3 tria6 quad4 quad8