Close

Relief for ODA Team in Ukraine

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

Checks size constraints for inverse attributes of a specified instance and forms a list of inverse attributes that violate size 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, this object contains an array of pointers to attribute instances that violate constraints.
  • True if the validation passes. This means that all inverse attribute constraints are met or the instance doesn't contain an inverse attribute.
  • False if any inverse attribute constraint is violated.
  • Unknown if the expression of any size constraints is unknown or is not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.