Selection of Elements for the particular region

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

i want to select a element in the particular location, 50mm or 10 elements from the center.

 

Please refer attached.

 

How to select using tcl script. i am very new to TCL Script

 

'by adjacent' or any other way to select.

<?xml version="1.0" encoding="UTF-8"?>element.png

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    *featureangleset 5
    *createmarkpanel elements 1 'Select center Element'
    set 1 [hm_getmark elements 1]
    *appendmark elements 1 'by face'
    *maskentitymark elements 1 0
    *maskreverse elements
    *createmark elements 2 'by adjacent' $1

     

    it is not working.

  • tinh
    tinh Altair Community Member
    edited February 2016

    Hi,

    select a column of elems, then *appendmark 'by adjacent' 10 times

    or *createmark elems 'by box' . Search for help of 'by box' option in Hypermesh Reference Guide