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!

get err in nx11 sketchInPlaceBuilder1 = workPart.Sketches.CreateSketchInPlaceBuilder(nullSketch)

Status
Not open for further replies.

Ehaviv

Computer
Joined
Jul 2, 2003
Messages
1,012
Location
IL
Hi

Is it OK that this statement
sketchInPlaceBuilder1 = workPart.Sketches.CreateSketchInPlaceBuilder(nullSketch)
worked OK in nx8.5 and throw error in nx11

the API reference say in nx11 ues CreateSketchInPlaceBuilder2 instead.
because CreateSketchInPlaceBuilder is obsolete

Do in every NX released I need to check and rewrite my apps !

Thank you in advanced.
 
Ehaviv said:
Do in every NX released I need to check and rewrite my apps !

Yes. If you are compiling your code, you will need to reference the new NX dlls and recompile for each new (major) release. If the code compiles successfully, I'd suggest running some test cases before releasing it to the users. If you get errors, it is time to dig in and find out why. If you are not compiling your code, you should still test on new NX releases.

This is true of programming in general and the issue is not specific to the NXOpen API. Those that write and maintain the API do what they can to keep the function signatures the same between releases (so as to not disrupt existing code), but sometimes this isn't possible and new functions make existing ones obsolete.

www.nxjournaling.com
 
Cowski thank you

This very disappointing

But we live with it.

Thank you again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top