API Reference > OdDAI Namespace > Classes > Validator Class > Validator Methods > Validator::createObject Method
Validator::createObject Method
Syntax
C++
static OdSmartPtr<Validator> createObject(OdDAI::Model* model);
Parameters 
Description 
OdDAI::Model* model 
[in] A raw pointer to the model for validation.  

A smart pointer to the created validator.

details Creates a new validator definition with a specified Model.

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