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

Sets new validation context for all instances and extents validations.

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