cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Update of whole Part / Assembly NXOpen (C#)

Pioneer
Pioneer

Hi Guys,

 

i need some help with an auto update.

 

i'm searching a Method to update my whole Part / Assembly after clicking on an Action Button.

 

 

 

Thanks for your Help !!!

7 REPLIES

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Legend
Legend

Try UFModl.UpdateAllFeatures()

 

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Pioneer
Pioneer
Thanks for the Answer!
I tried the FUnction but nothing happens :/ The Sheets don't update.
I Need a Function for Update to End.

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Phenom
Phenom

How about:

Update update = Session.updateManager();
int errorCount = update.doUpdate(undo);

(Java, but it should be easy enough to convert to C#)

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Pioneer
Pioneer
neither :/ nothing happens

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Legend
Legend

You mentioned sheets.  Are you tryiing to update the model or the drawings?

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Pioneer
Pioneer
the whole model

Re: Auto Update of whole Part / Assembly NXOpen (C#)

Phenom
Phenom

I think you need to explain in much more detail what is out of date.

What are the 'sheets'?

How are they created?

Is Knowledge Fusion involved?

Can you update interactively and get the required result?

Have you record a journal of doing that to see what it does?

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5