🎉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

Inputting a table of node coordinates into HyperMesh

User: "MaL2K16"
Altair Community Member
Updated by MaL2K16

Hello,

 

I am a beginner with HyperMesh and would like to know if there is a way for a user to input a table of node coordinates into HyperMesh instead of having to manually input each coordinate. Manually inputting each X, Y, and Z coordinate is time-consuming, so a shortcut would be great. Here is an example of what the node table looks like.

 

Node Identifier

X

Y

Z

A

0

0

0

B

0.1143

0

0

C

0.1143

0.1905

0

D

0.3048

0.1905

0

E

0.3048

0.3048

0

F

0

0.3048

0

G

0

0

0.381

H

0.1143

0

0.381

I

0.3048

0

0.381

J

0.3048

0.1905

0.381

K

0.3048

0.3048

0.381

L

0

0.3048

0.381

M

0.1143

0.1905

0.381

N

0

0

1.524

O

0.3048

0

1.524

P

0.3048

0.3048

1.524

Q

0

0.3048

1.524

 

Thank you very much for your help!

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Here's a very simple TCL script:

     set coordinates { 0 0 0 \ 0.1143 0 0 \ 0.1143 0.1905 0 \ 0.3048 0.1905 0 \ 0.3048 0.3048 0 \ 0 0.3048 0 \ 0 0 0.381 \ 0.1143 0 0.381 \ 0.3048 0 0.381 \ 0.3048 0.1905 0.381 }   foreach {x y z} $coordinates {  	*createnode $x $y $z 0 0 0; }