Table of Contents

Method LocateSheetSet

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

LocateSheetSet()

Finds the sheet set of the drawing, as AutoCAD does when a drawing opens with SSLOCATE on: the sheet set mark the drawing carries (CadSheetSetHint) names the set's file, which is looked for where it says and, if it is not there, as far from the drawing as the mark says it was, so that a set moved with its sheets is found. The file is SheetSetFound and the window is asked (the request SSLOCATE, a CadSheetSetRequest) to open the set in the Sheet Set Manager, and to show the manager where SSMAUTOOPEN is on. The host calls it when it has opened a drawing.

public string LocateSheetSet()

Returns

string

The file of the set found; null where SSLOCATE is off, or the drawing is no sheet of a set that can be read.