GetUVSamplingCoor dinateArray (NurbsSampleCollec tion) *

Description

Returns an array of UVSamplingCoordinate values for all Sample.

Scripting Syntax

    NurbsSampleCollection.GetUVSamplingCoordinateArray( [Indices], [NurbsSurfaceIndex] )

C# Syntax

    Object NurbsSampleCollection.GetUVSamplingCoordinateArray( Object, Object );

Parameters

Parameter | Type | Description
Indices | Array of Long | An array of NurbsSampleIndex.
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.

Return Value

Array

Examples

VBScript Example

    set oCube = ActiveSceneRoot.AddGeometry("Cube","NurbsSurface")
    set oNurbsSamples = oCube.ActivePrimitive.Geometry.surfaces(0).NurbsSamples
    aUVSamplingCoordinate = oNurbsSamples.GetUVSamplingCoordinateArray(Array(1))
    logmessage "The UV sampling coordiante of sample 1 is: " & aUVSamplingCoordinate(0) & " " & aUVSamplingCoordinate(1)

Autodesk Softimage v7.5