Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Apr 1, 2025
Messages
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
 
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

Back
Top