Quantcast
Channel: NX Journaling - Journaling / NXOpen API
Viewing all articles
Browse latest Browse all 787

Get a geometry information of object

$
0
0

Hello.

I use Python, but I think it doesn't matter.

I need to get a geometry information of the Face as well as I get it through the user interface (Menu -> Information -> Object or Ctrl+I).

Actually I need just the following parameter:

Normal - Absolute    I  =   -0.420212290      
                     J  =   -0.907389507      
                     K  =   -0.008118760

I tried to record journal file:

selectedObjects1 = [NXOpen.NXObject.Null] * 1 
selectedObjects1[0] = face
self.theSession.Information.DisplayObjectsDetails(selectedObjects1)

But this code displays a ListingWindow. Of course I can parse it, but I think there is a better way.

How can I get this geometry parameter?


Viewing all articles
Browse latest Browse all 787

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>