Active Sheet

This check verifies whether the specified sheet of the drawing is active.

If not, the check fails.

This page discusses:

Context

Automated processes can fail if the required drawing sheet is not active.

You can use the following sheets as the required active one:

  • Sheet with a specified name
  • Sheet with a specified index

Some automated checks can require to activate the first sheet of the drawing before running the checks. The checks fail if the first sheet is not active:



To correct the error, activate the first sheet and run the check again:



Check Information

Check Details Description
Applicable to: DrwDrawing
Automatic Solution:
Check Parameters:
  • DefineActiveSheetByIndex: Boolean type.

    Specifies whether to activate a sheet with a particular index.

    Note: By default, the value is false.

  • DefineActiveSheetByName: Boolean type.

    Specifies whether to activate a sheet with a particular name.

    Note: By default, the value is false.

  • IndexOfTheActiveSheet: Integer type.

    Specifies the position of the sheet in the tree, starting with the topmost sheet.

    Note: By default, the value is 1.

  • NameOfTheActiveSheet: String type.

    Specifies the name of the sheet to verify.

    Note: You can use regular expressions.

Check Failure Resolution

If the check fails, activate the first sheet of the drawing. To do so, do either of the following:

  • Double-click the sheet in the tree.
  • Select it in the Sheet Browser.
The name or index of the sheet to activate appears in the NameOfTheActiveSheet parameter. For more information, see 3D Modeling | Mechanical Systems | Drafting | Drafting | Working with Sheets | Managing a Sheet.

You can also use the healing option to automatically activate the sheet referenced in the NameOfTheActiveSheet parameter.