🎉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

Cannot select elements after renumbering

User: "pohan"
Altair Community Member
Updated by pohan

Hi

I have a model with 48000 elements. I renumbered some specials elements starting from 49000. In Hyper Mesh when I checked the number it was ok

But when I used my code to create a set of elements attached to element no 49000

 set setname select set elempick 49000 *createmark elems 1 $elempick *appendmark elems 1 'by attached' *entitysetcreate '$setname' elems 1

Hyper Mesh said the element was not selected.

Could you please explain me the problem?

Thanks

 

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    Elements in hypermesh have internal (hypermesh) id and solver id

    Solver id depends on user profile (solver)

    Internal id depends on how and when element is created

    If you renumber elements by panel 'renumber'=> you changed solver id

    But *createmark elems 1 49000 => indicates that select an element with internal id 49000 (which may not be existing)

    Pls check reference help if *createmark has any option to select 'by solver id'

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Thank you tinh

    I could not find 'by solver id'

    I think I should use *renumber first.

    I have one question: As as I know, in HM we have to select a command in tool panel first then select the elements. For example, Tool --> delete then select elements.

    Can we can select elements in HM before ?

    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    Actually you always select the entities first and then execute the command.

    You go to the panel before selecting, but entering the panel doesn't mean you're performing the action.

     

    So though tcl also, first create a mark and then call the *commands

     

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Actually you always select the entities first and then execute the command.

    You go to the panel before selecting, but entering the panel doesn't mean you're performing the action.

     

    So though tcl also, first create a mark and then call the *commands

     

    Hi

    I just want to pick some special elems first. Then I use tlc for the commands.

    If I use *createmark in tcl first, it is not easy to pick these elems.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    I just want to pick some special elems first. Then I use tlc for the commands.

    If I use *createmark in tcl first, it is not easy to pick these elems.

     

    Use *createmarkpanel elems 1 'to pick some elems before running tcl'

    User: "Hypermesh User"
    Altair Community Member
    Updated by Hypermesh User

    Hi Pohan,

       You can recheck by changing the *user profiles