CivilPengineer
New Member
- Joined
- Feb 20, 2012
- Messages
- 12
My problem relates to a computer model of a building.
I have thousands of nodes output from the model each of which has stress values associated with it. Each nodes has an X, Y, Z value describing it's location in 3D space.
The strength properties of the building are assigned in hundreds of rows. Each row corresponds to a range of X, Y and Z values. For example, x between 0 and 50, y between <x<50, 1<y<13,="" -12<z<-10="" might="" describe="" a="" wall="" with="" certain="" strength,="" whereas="" 0<x<50,="" 13<y<20,="" the="" above="" which="" is="" weaker.
0 and 5 and z between 4 and 5 could describe a wall in the building with a certain strength property. x between 0 and 50, y between 5 and 10 and z between 4 and 5 could describe the wall above which would have a different strength value.
What I am trying to do is, for each node, find the associated strength value at that location, by automatically finding which set of ranges the node X,Y,Z values fall into and copying the associated strength properties to that node's row.
I'm hoping to do this without using macros, as it is easier for my work to be checked if I can stick to formulae.
Any ideas would be much appreciated!</x<50,>
I have thousands of nodes output from the model each of which has stress values associated with it. Each nodes has an X, Y, Z value describing it's location in 3D space.
The strength properties of the building are assigned in hundreds of rows. Each row corresponds to a range of X, Y and Z values. For example, x between 0 and 50, y between <x<50, 1<y<13,="" -12<z<-10="" might="" describe="" a="" wall="" with="" certain="" strength,="" whereas="" 0<x<50,="" 13<y<20,="" the="" above="" which="" is="" weaker.
0 and 5 and z between 4 and 5 could describe a wall in the building with a certain strength property. x between 0 and 50, y between 5 and 10 and z between 4 and 5 could describe the wall above which would have a different strength value.
What I am trying to do is, for each node, find the associated strength value at that location, by automatically finding which set of ranges the node X,Y,Z values fall into and copying the associated strength properties to that node's row.
I'm hoping to do this without using macros, as it is easier for my work to be checked if I can stick to formulae.
Any ideas would be much appreciated!</x<50,>
Last edited: