API Reference > OdDAI Namespace > Classes > Validator Class > Validator Methods > Validator::setModelContext Method
Validator::setModelContext Method
Syntax
C++
void setModelContext(OdBaseModelValidationContextPtr pModelCtx);
Parameters 
Description 
pInstanceCtx 
[in] Shared pointer to the new model context. 

Sets new validation context for all model validations.

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