Showing results for 
Search instead for 
Do you mean 
Reply

Sort assembly navigator with a particular column

Hi All,

I am trying to sort assembly navigator by "Descriptive Part Name" through NX-Open API. 

It is very simple when doing manually, just a click on column does it.

However I am unable to find any API or Journal that gives me inforamation on how to go about it.

 

So here is my question :

Is it possible to sort the assembly navigator using NX-Open API with a particular column?

 

Note: The component names are Alphanuemeric. example: ABC_123CGU-001

 

Thanks

4 REPLIES

Re: Sort assembly navigator with a particular column

"Is it possible to sort the assembly navigator using NX-Open API with a particular column?"

 

No; the API doesn't give you access to the navigators.

Re: Sort assembly navigator with a particular column

Historically that has been the case, but we have a little bit of access now.  Check the solution center example:

 

https://solutions.industrysoftware.automation.siemens.com/view.php?sort=desc&p=1&q=nx_api5383&file_t...

 

If that link fails, just search the solution center for "nx_api5383", or the title, which is "Sample NX Open .NET C# program : set ANT sort order to Alphabetic at all assembly levels"

 

However the bad news is that I do not think this is going to let you sort by the column you want to use.  Sorry about that!

Re: Sort assembly navigator with a particular column

Thanks for the references. I had to write my own code to get this done. 

 

Re: Sort assembly navigator with a particular column

Care to share that code with the class? It would really help me out.