Close

Relief for ODA Team in Ukraine

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

Checks constraints within a specified model and forms a list of the model's instances that violate any of the constraints.

Parameters
Description
pCtx
[in] A raw pointer to the validation context object that contains the model to be validated.
invalidParams
[out] A shared pointer to an InvalidValidationParamsBase object. After method execution, this object contains a list of the model's instances that violate constraints.
  • True if the validation passes. This means that all constraints within the model are met.
  • False if any constraint within the model is violated.
  • Unknown if the expression of one or more of the model's constraints are unknown or are not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.