Close

Relief for ODA Team in Ukraine

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

Checks constraints for a specified entity instance and forms a list of violated constraints.

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