I tried pass an double array ,it can't compile or run . and i tried just give a double for uv parameter, but the return value is wrong.
Actually the original C function takes two pointers to double arrays:
double * u_parms,
double * v_parms,
int * pts_status
As Java does not have pointers as such, I'm not sure how you'd call this...
Maybe ask GTAC for help in this case...
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: [NX126.96.36.199 MP11 64bit] Testing: [NX188.8.131.52 MP1]
I agree with @Inch that it should be reported to GTAC; they can show us the proper usage, or it may be a bug. I tried to write some VB code for it and got an error "NXException: data is not correct". When I use an array, the compiler complains that it must be a double; when I use a double, I get the error mentioned previously.
Yes, Cowski and Graham are correct, this should be reported to GTAC. It looks like the original C function was not wrapped properly for use in the .Net or Java NXOpen kits. GTAC will convert your IR to a Problem Report so that the development team can work to resolve it.
Thank you all.
I use createpoint function and a loop to generate mass points instead. the
Api can create a set of points on a face,but it's function
seems always return nothing too.
BTW,i don't know how to contact GTAC.Maybe you guys could help me .
Start with this page:
Near the upper left corner, expand the drop-down menu that says "Contact Support". Under that, there is a link for "GTAC Operating Hours and Phone Menu". I am in North America, so when I go to that page, I see the information that is appropriate locally; I suspect it might be different depending on where you are connecting from. If you don't see local information, there is a link under the picture on the right side for "GTAC Global Support Telephone Numbers".
If you report a problem that requires a software fix, then once it is fixed, GTAC will alert you, so you know what version contains the fix.
PointSetBuilder inherits from FeatureBuilder and creates a Feature. Commit() returns a NXObject and GetCommittedObjects() returns an array of NXObjects.
To get the Feature, use the CommitFeature() method, which returns the Feature, or the GetFeature() method.