KnotCollection.Parameterization

Description

Returns a knot parameterization as one of the siKnotParameterization enum values.

C# Syntax

// get accessor
siKnotParameterization rtn = KnotCollection.Parameterization;

Examples

VBScript Example

set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface")
set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry
set oNurbsSurface = oNurbsSurfaceMesh.Surfaces(0)
eKnotParameterization = oNurbsSurface.UKnots.Parameterization
if eKnotParameterization = siUniformParameterization then
logmessage "NURBS curves are uniform"
end if