Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

NX Class to access 'Section' information (in NX modelling module)?

To all

 

I am thinking about something but cannot find the info in the doc. When in the NX.Modelling module one can create a cross section and even have a number of cross sections at a constant step (see attached). I am looking for the “Class” (not sure of the correct the programming term) to access the info of the section(s).

 

I’d like to extract the 2nd moment of area (Ixx, Iyy) of a number of cross sections (along a path). There must be a way of automating such task (unless if there is something /somewhere in NX?)

 

Any ideas?

 

Thanks

Regards

Production: NX9.0.3.4, NX10.0.2.6
Development: VB.NET (amateur level !)
5 REPLIES
Solution
Solution
Accepted by topic author selex_ct
‎08-26-2015 04:32 AM

Re: NX Class to access 'Section' information (in NX modelling module)?

In interactive NX, one way to get the 2nd moments is with the Analysis -> Section inertia... command. In NXOpen, use the SectionInertiaAnalysis/SectionInertiaAnalysisBuilder objects.

 

You'll find some example code here:

http://www.eng-tips.com/viewthread.cfm?qid=346099

Re: NX Class to access 'Section' information (in NX modelling module)?

Thanks Cowski1. Will look at the doc describing the object specified.

Lokks like the link to a (possible) example within the link you provided is out of date now

Production: NX9.0.3.4, NX10.0.2.6
Development: VB.NET (amateur level !)

Re: NX Class to access 'Section' information (in NX modelling module)?

Looks like one may need a specific licence to access the feature!

Production: NX9.0.3.4, NX10.0.2.6
Development: VB.NET (amateur level !)

Re: NX Class to access 'Section' information (in NX modelling module)?

[ Edited ]

The dropbox link worked for me as did the code (even though it is, admittedly, a bit crude). To the best of my knowledge, you don't need any special functionality beyond a modeling license.

 

The code looks for "intersection curve" features, which is a little different than what you show in the screenshot.

 

The journal was written for NX 8, what version are you using?

Re: NX Class to access 'Section' information (in NX modelling module)?

got access to the link from another computer. Will have to spent some time playing with it

Currently using NX9

 

Thanks

Production: NX9.0.3.4, NX10.0.2.6
Development: VB.NET (amateur level !)