GetPolyline

public class GetPolyline : IDisposable
Use to interactively get a polyline.

Constructors

GetPolyline

#Since v6.0
public GetPolyline()

Finalizer

~GetPolyline

#
~GetPolyline()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

Properties

FirstPointPrompt

#Since v6.0
public string FirstPointPrompt { get; set; }
Prompt when getting first point

FourthPointPrompt

#Since v6.0
public string FourthPointPrompt { get; set; }
Prompt when getting fourth point

MaxPointCount

#Since v6.0
public int MaxPointCount { get; set; }

MinPointCount

#Since v6.0
public int MinPointCount { get; set; }

SecondPointPrompt

#Since v6.0
public string SecondPointPrompt { get; set; }
Prompt when getting second point

ThirdPointPrompt

#Since v6.0
public string ThirdPointPrompt { get; set; }
Prompt when getting third point

Methods

Dispose

#Since v6.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

Dispose

#
protected virtual void Dispose(bool disposing)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

disposing (bool)true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.

Get

#Since v6.0
public Result Get(out Polyline polyline)
Perform the 'get' operation.
polyline (out Polyline)

SetFirstPoint

#Since v6.0
public void SetFirstPoint(Point3d point)
Use SetFirstPoint to specify the line's starting point and skip the start point interactive picking
point (Point3d)