Table of Contents

Method Command

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Command(CadPlaceOnSheetPlan, string, Action<CadPlaceOnSheetResult>)

The command Place on Sheet runs on the command line: "Specify insertion point or [Scale]:" with the outline of the view at the scale following the cursor, the Scale option listing the drawing's scales, the click placing the view as Place(CadDocument, CadSpace, CadPlaceOnSheetPlan, GeoPoint2, string) does. Run it with Start(CadCommand).

public static CadCommand Command(CadPlaceOnSheetPlan plan, string scale, Action<CadPlaceOnSheetResult> placed)

Parameters

plan CadPlaceOnSheetPlan

What is placed.

scale string

The scale it starts at, as 1:100.

placed Action<CadPlaceOnSheetResult>

Told what was made once the view is placed, with the scale it was placed at; the caller records it in the set.

Returns

CadCommand

The command.

Exceptions

ArgumentNullException

Thrown when the plan, the scale or the callback is null.