ValidationManager Class — NXOpen Python API Reference 12.0.0 documentation

# ValidationManager Class

class `NXOpen.Validate.``ValidationManager`

  Bases: `object`

  Represents an object that manages validator and parser associated instance objects.

  It handles the creation of new validators and parsers. The ValidationManager also provides `NXOpen.Validate.ValidationManager.FindValidator()` to get validators in current session.

  To obtain an instance of this class, refer to `NXOpen.Session`

  New in version NX7.5.0.

# Methods

Method | Description
--- | ---
CreateParser | Creates a parser.
CreateValidator | Creates a validator.
DeleteParser | Deletes a parser.
DeleteValidator | Deletes a validator.
FindParser | Finds parsers in current session.
FindValidator | Finds validators in current session.

# Method Detail

## CreateParser

`ValidationManager.``CreateParser`

  Creates a parser.

  Signature `CreateParser(name)`

  Parameters: | name (str) – name of the parser
  Returns: |
  Return type: | `NXOpen.Validate.Parser`

  New in version NX7.5.0.

  License requirements: None.

## CreateValidator

`ValidationManager.``CreateValidator`

  Creates a validator.

  Signature `CreateValidator(name)`

  Parameters: | name (str) – name of the validator
  Returns: |
  Return type: | `NXOpen.Validate.Validator`

  New in version NX7.5.0.

  License requirements: ug_checkmate (“UG Check Mate”)

## DeleteParser

`ValidationManager.``DeleteParser`

  Deletes a parser.

  Signature `DeleteParser(parser)`

  Parameters: | parser (`NXOpen.Validate.Parser`) –

  New in version NX7.5.0.

  License requirements: None.

## DeleteValidator

`ValidationManager.``DeleteValidator`

  Deletes a validator.

  Signature `DeleteValidator(validator)`

  Parameters: | validator (`NXOpen.Validate.Validator`) –

  New in version NX7.5.0.

  License requirements: ug_checkmate (“UG Check Mate”)

## FindParser

`ValidationManager.``FindParser`

  Finds parsers in current session.

  It will return all parsers with the same name.

  Signature `FindParser(name)`

  Parameters: | name (str) –
  Returns: |
  Return type: | list of `NXOpen.Validate.Parser`

  New in version NX7.5.0.

  License requirements: None.

## FindValidator

`ValidationManager.``FindValidator`

  Finds validators in current session.

  It will return all validators with the same name.

  Signature `FindValidator(name)`

  Parameters: | name (str) –
  Returns: |
  Return type: | list of `NXOpen.Validate.Validator`

  New in version NX7.5.0.

  License requirements: ug_checkmate (“UG Check Mate”)