Enable this option to exclude the document from a library or schematic.

syntaxSyntax:
DlxDocument.SetIgnore(flag)

Parameters

Parameter Description
flag Specify true if the page should be excluded from a library or schema otherwise specify false.

Return Value

If an error occurs it returns false otherwise it returns true.

Example

  Copy codeCopy code
var doc = DlxApp.GetJob().FindDocument("Examples Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid() && !doc.IsToIgnore())
{
  doc.SetIgnore(true);
}

See also