API Reference > OdDAI Namespace > Classes > ModelValidationTask Class > ModelValidationTask Methods > ModelValidationTask::validate Method
ModelValidationTask::validate Method
Syntax
C++
virtual Logical validate(OdDAI::OdBaseModelValidationContext* pModelCtx, OdSharedPtr<InvalidValidationParamsBase>& invalidParams) = 0;
Parameters 
Description 
OdDAI::OdBaseModelValidationContext* pModelCtx 
[in] A raw pointer to the validation context with validate model.  
OdSharedPtr<InvalidValidationParamsBase>& invalidParams 
[out] A struct with invalid validation objects.  

Result of validation.

Checks model by some rules and retrieves the list of instances which are not satisfying them.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.