Jump to content

Erwan

Members
  • Content Count

    4
  • Joined

  • Last visited

About Erwan

  • Rank
    Newbie

Profile Information

  • Country
    France
  • Are you University user?
    No
  1. Hello, I need to do a loop on all my components and i don't know how to do it... Something like that : set list_comp {list "all" components} #doesn't work... set m 0 foreach i $list_comp { incr m set cname [hm_entityinfo name components $i] #instruction } If someone can help me.. Thanks.
  2. Hello, Perfect it works. Thanks for your help !
  3. Hello, i just start to use Tcl script on hypermesh. I've a script who create a simple geometry and mesh on hypermesh. And i need to create boundary conditions. with the commande file I've : *startnotehistorystate {Created Force } *createmark nodes 1 1-19 1920-1945 4553-4559 *loadcreateonentity_curve nodes 1 1 1 -0 -0 50 0 0 50 0 0 0 0 0 *endnotehistorystate {Created Force } The problem is that the nodes are not always the ame (depend on my geometry). Can I create boundary conditions without the number of the nodes ? Like with lines ? Something like : *startnotehistorystate {Created Force } *createmark nodes 1 Line 3 *loadcreateonentity_curve nodes 1 1 1 -0 -0 50 0 0 50 0 0 0 0 0 *endnotehistorystate {Created Force } Thanks Sorry i'm really a beginner with TCL.
×
×
  • Create New...