API Reference > Functions > oddaiGetSchema Function
oddaiGetSchema Function
Syntax
C++
DAI_EXPORT OdDAI::SchemaPtr oddaiGetSchema(const OdAnsiString & schemaName);

daiModule.h

Parameters 
Description 
const OdAnsiString & schemaName 
[in] Name of EXPRESS schema to find.  

Smart pointer to a Schema class, if schema is supported, otherwise returns null SmartPtr.

Returns a smart pointer to a schema definition by the name of the schema. If the schema isn't supported (or isn't registered in schemas dictionary), NULL will be returned. 

 

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