WorksetExists

bool WorksetExists(this Document doc, string worksetName)

Checks if a workset with the given name exists.

Parameters

  • docDocument

    The workshared document.

  • worksetNamestring

    Workset name.

Returns: True if exists; otherwise false.

Example

bool exists = doc.WorksetExists("A-Walls");