Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
GlobalRulesValidationTask::validate Method
Syntax
C++
OdDAI::Logical validate(OdDAI::ValidationContext* pCtx, OdSharedPtr<InvalidValidationParamsBase>& invalidParams) final;

Checks a model's global rules and forms a list of violated rules.

Parameters
Description
pCtx
[in] A raw pointer to the validation context object that contains a model to be validated.
invalidParams
[out] A shared pointer to an InvalidValidationParamsBase object. After method execution, it contains a list of global rules that are violated.
  • True if the validation passes.
  • False if any global rule constraint is violated.
  • Unknown if the constraint expression is unknown or is not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.