Returns the number of USampling coordinate valid indices as a Long.
// get accessor Int32 NurbsSampleCollection.get_USamplingCount( Object in_lNurbsSurfaceIndex ); |
Parameter | Type | Description |
---|---|---|
NurbsSurfaceIndex | Long | If you get the NurbsSampleCollection from NurbsSurface.NurbsSamples it will use the NurbsSurface from which you requested it by default. If you get it from Geometry.Samples it will take the first surface by default. |
set oCube = ActiveSceneRoot.AddGeometry("Cube","NurbsSurface") set oSurface = oCube.ActivePrimitive.Geometry.Surfaces(0) set oSamples = oSurface.NurbsSamples logmessage "The number of valid USamplingCoordinate indices is: " & oSamples.USamplingCount |