Method Command
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
planCadPlaceOnSheetPlanWhat is placed.
scalestringThe scale it starts at, as 1:100.
placedAction<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.