3ds Max C++ API Reference
Loading...
Searching...
No Matches
NURBS Results

These results are returned when one is modifiying existing objects. More...

Enumerations

enum  NURBSResult {
  kNOk , kNInvalidObject , kNInvalidId , kNInvalidParameter ,
  kNBad
}
 

Detailed Description

These results are returned when one is modifiying existing objects.

See also
Working With NURBS.

Enumeration Type Documentation

◆ NURBSResult

Enumerator
kNOk 

The function succeeded.

kNInvalidObject 

The specified object was invalid.

For example, if you use the SetSurfaceApprox() function and specify a non-NURBS object as input, you get this error.

kNInvalidId 

The specified ID was invalid.

For example, if you use the Transform() function and pass an invalid NURBSId, you get this error.

kNInvalidParameter 

A specified parameter was invalid.

For example, if you try to create a cone using GenNURBSConeSurface() with a radius <=0, you get this error.

kNBad 

The function failed.

This is a catch-all for any kind of unwanted result not covered above.

51 {
53 kNOk,
64 kNBad
65};
@ kNInvalidParameter
A specified parameter was invalid.
Definition: surf_api.h:62
@ kNInvalidObject
The specified object was invalid.
Definition: surf_api.h:56
@ kNInvalidId
The specified ID was invalid.
Definition: surf_api.h:59
@ kNBad
The function failed.
Definition: surf_api.h:64
@ kNOk
The function succeeded.
Definition: surf_api.h:53