🎉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: How to retrieve nodes from usermark (preview equivalence)

User: "Kruger"
Altair Community Member
Updated by Kruger

A portion of my code requires the "preview equivalence" feature:  *equivalence entity_type mark_id tolerance mode location numbering

for "mode," I am choosing to only save the nodes to the usermark.  My method to retrieve the nodes is not working?  Here is my code:

*createmarkpanel elements 1 "Select elements"
set face_elems [hm_getmark elements 1]
*equivalence elements 1 3.5 3 0 0
*createmark nodes 1 -1
set prev_equiv01 [hm_getmark nodes 1]
*entitysetcreate "saved nodes" nodes 1
*clearmark nodes 1
*clearmark elements 1

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Adriano_Koga"
    Altair Employee
    Accepted Answer
    Updated by Adriano_Koga

    you're looking for the command:

    set prev_equiv01 [hm_getusermark nodes]

    just add it after equivalence command.

     

    OBS.: *createmark nodes 1 -1  creates a selection of the latest/newest node created in your model. -2 takes the 2nd newest, and so on..

    image