Returns the number of VSampling coordinate valid indices as a Long.
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 VSamplingCoordinate indices is: " & oSamples.VSamplingCount |