WAMIT export


Hi! When exporting surfaces in GDF format for wamit analysis, in what order are the surfaces exported?

Regards Pål

(Pascal Golay) #2

Hi Paal - I am not sure exactly what you mean - are you asking the order or sequence in which the objects are written to the file? Or the ‘order’, in NURBS-speak, of the surfaces in each direction?




I can see that my question was a bit confusing. I am asking for the sequence in which the objects are written to the file.


(Pascal Golay) #4

Hi Paal - here’s my guess - and @tim can tell us if I am inventing things - the objects are processed in the order selected if selected one by one, and in the order in which they appear in the Rhino database (most recently modified first) if pre-selected or window selected. I do not know if that corresponds to the order in which they are written in the file though - I guess Tim will have to weigh in.


(Tim Hemmelman) #5

My guess is that what Pascal said is probably true. The objects for export are collected in an object iterator and then processed in the order they appear in the iterator. I do think that, if picked individually, you can count on the order in the file. Otherwise, they probably are ordered based on where they show up in the document object array, but I’m not certain about that.




Thank you both, with your input I now have this under control.


Sendt fra min iPhone