codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Spline object

A quadratic or cubic NURBS (nonuniform rational B-spline) curve.

VBA class name:

AcadSpline 

Create using:

ModelSpace.AddSpline
PaperSpace.AddSpline
Block.AddSpline 

Access via:

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item 

A spline is a smooth curve passing through a given set of points. AutoCAD uses a particular type of spline known as a nonuniform rational B-spline (NURBS) curve. A NURBS curve produces a smooth curve between control points. Splines are useful for creating irregular-shaped curves, for example, drawing contour lines for geographic information system (GIS) applications or automobile design.

You create splines by specifying coordinate points. You can close the spline so the start point and endpoint are coincident and tangent. You can also change the spline-fitting tolerance. Fit tolerance refers to how closely the spline fits the set of fit points you specify. The lower the tolerance, the more closely the spline fits the points. At zero tolerance, the spline passes through the points.

To create a spline, use the AddSpline method. To edit or query a spline, use the following methods and properties:

Methods

AddFitPoint

ArrayPolar

ArrayRectangular

Copy

DeleteFitPoint

ElevateOrder

Delete

GetBoundingBox

GetControlPoint

GetExtensionDictionary

GetFitPoint

GetWeight

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Offset

PurgeFitData

Reverse

Rotate

Rotate3D

ScaleEntity

SetControlPoint

SetFitPoint

SetWeight

SetXData

TransformBy

Update

Properties

Application

Area

Closed

ControlPoints

Degree

Document

EndTangent

FitPoints

FitTolerance

Handle

HasExtensionDictionary

Hyperlinks

IsPeriodic

IsPlanar

IsRational

Knots

Layer

Linetype

LinetypeScale

Lineweight

NumberOfControlPoints

NumberOfFitPoints

ObjectID

OwnerID

StartTangent

TrueColor

Visible

Weights  

Events

Modified  

 

   Comments?