Method Plan
Plan(string, string)
Works out what to place: the named view of a resource drawing, or where no view is named the box of everything in the drawing's model space.
public static CadPlaceOnSheetPlan Plan(string drawingFile, string viewName)
Parameters
drawingFilestringThe resource drawing.
viewNamestringThe name of the view; null for the whole of model space.
Returns
- CadPlaceOnSheetPlan
What is to be placed.
Exceptions
- ArgumentNullException
Thrown when the file is null.
- IOException
Thrown when the drawing cannot be read.
- FormatException
Thrown when the drawing is a file that cannot be read.
- InvalidOperationException
Thrown when the drawing has no such view, or nothing in model space to place.