cancel
Showing results for 
Search instead for 
Did you mean: 

To get no. of layers in part and assembly in NX 7.5 and NX 10.0

Pioneer
Pioneer

Hello,

How would i get no. of layers in part and assembly in an opened drawing file in NX 7.5 and NX 10.0 using C++ ?

 

Thanks,

Rupali

1 REPLY

Re: To get no. of layers in part and assembly in NX 7.5 and NX 10.0

Genius
Genius
You created many threads with almost the same question. :-) And the answer for layers is the simplest:
There are 256 layers in every part (at least from the user perspective...)

But the normal way of counting something in a part is:
* either there is any property like "count" or similar
* or you have to do something similar than: "for each foo in bah" loop and count it for yourself

You can easily adopt that to C++