Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Needed: "Clearance Analysis Object List Contains Invalid Objects" Error in NXOpen

PAVAN67

Automotive
Apr 1, 2025
1
Hello Everyone,

I’ve created a custom program in NX for performing clearance analysis between two components. The program has a UI that allows users to select two components, and it extracts the solid bodies of each component (including those within subassemblies).


Here's how the process is designed:


  1. The first component (checking component) extracts bodies in Layer 1.
  2. The second component (other component) extracts bodies in Layer 2.
  3. The program performs clearance analysis between the bodies in Layer 1 and Layer 2.

However, I'm running into an issue when I try to commit the clearance analysis: I get the following error:


NXOpen.NXException: Clearance analysis object list contains invalid objects
 
Replies continue below

Recommended for you

Curious,
what does your program do that the out-of-the-box NX functionality does not do ?


Regards, Tomas
 
Going out on a limb here and suggest you filter through the body arrays you get from the components to throw out the invalid ones? Like maybe facet bodies and whatnot.
 

Part and Inventory Search

Sponsor