Hello Amitabh,
Consider adding filtering along your loops, here are some ideas, i'm not sure they are valid for your case:
1. Iterate only Solid bodies
2. Iterate only Planar faces
just in-case your application is a dll attached to NX session consider replacing it with exe, you'll get better...
There are 3rd parties software that have a solution for your problem.
here is a link to one of them http://www.transcendata.com/solutions/proficiency/index.htm
If you do not need features information, you can export/import the file using Parasolid. it will create you dumb geometry in a correct assembly structure.
Writing code to do that is possible, though can be tricky if you have internal dependencies like expressions.
The way you are accessing the file looks ok (i don't think it is the cause of the performance problem). Having said that, i think my suggestion is more a style issue.
I think the suggestion about UF_DISP_set_display is very easy to implement and can boost your application.
For better...
There are 3 Things you can do to improve the performance of this program( well 3 that I can think of ):
1.This is a general programming advise, not specific to NX: You can store all the data you are collecting during the while loop in a data structure. Only when the loop is done, creating/...
Mark,
You can have any Microsoft compiler with the windows SDK for free, so you don't realy need Visual Studio at all.
The free express Visual Studio is good enough for developing applications, having said that, if you need connection to some kind of source control and/or would like to enhance...
What is your definition for nonparametric feature/body? if your data is from STEP/IGES/PARASOLID than all the bodies are not parametric. But if you have a body that is build from 2 non parametric bodies and unite between them is it non parametric? I think the answer to this is not so clear...
But GTAC did mentioned NX8, I just didn't mentioned it before, from GTAC : In NX8, where pattern feature has replaced instance feature, selecting the move object feature for a pattern results in the following message:
Move Object(20) is not supported and will be ignored.
‘Instanced Body (18)’...
To make a long story short, here is what we are doing:
The project I’m working on is a software project. Its goal is to read CATIA V5 parts/assemblies/drawing and using NX Open API create “identical” parts in NX, or in other words “feature base exchange from CATIA V5 to NX”. A 100% success...
I'm involved in a Data Exchange project from CATIA V5 to NX. In CATIA V5 this is a relatively common practice.
GTAC opens ER for this issue.
Thank you for your time and effort.
I'll be the first one to admit, that this DEMO part is not the preferred way to create holes. The only reason I posted it, is that that I wanted to post the simplest part possible, following the KISS principle "keep it simple and stupid". You can replace the extrude that makes the hole with a...
Hello,
First of all I apologize, as I am not a native English speaker. I hope you’ll understand my question.
In the attached part created in NX7.5.3.3, there is an instance feature that works on a feature that was moved with Move object feature. The Created instance feature, ignores the “move...
For associative solution you could do the following:
With NX open programming, access all the features in the file read their parameters, and write them into NX4, and thus build the part in NX4.
This is not a 100% solution for several reasons:
1. You cannot create feature that was introduced in...
Michaël,
Thanks for the replay,
The part is only an example part that shows that the replace feature does not work as I think it should. I know how to manually reattach the edges of the blend, I think the main benefit of the replace feature is that is should do it automatically.
Tomer