Reputation: 21
Is there a way to get the x, y and z point values of a particular surface in petrel through Ocean and print them out in the Petrel output window?
Upvotes: 0
Views: 414
Reputation: 699
Assuming you are referring to a RegularHeightFieldSurface, all the information you need is readily available in the Ocean SDK. I believe you are looking for RegularHeightFieldSample.
The PetrelLogger can be used to output strings to the Message Log, log files or standard message boxes.
You asked an almost identical question here: How to generate a surface from other surfaces in Petrel. Both current answers, that you acknowledged, also answers this question.
Ocean (like most moderately complex APIs) does require some upfront investment in getting acquainted with the basics. Stack Overflow is no substitute for self study.... :-)
Upvotes: 2