API Reference > Namespaces > OdDbSymUtil Namespace > Functions > OdDbSymUtil::validateSymbolName Function
OdDbSymUtil::validateSymbolName Function
Syntax
C++
TOOLKIT_EXPORT OdResult validateSymbolName(const OdString& name, const OdDbDatabase* pDb, bool allowVerticalBar = false);

DbSymUtl.h

eOk Symbol name is valid eInvalidInput Symbol name contains invalid characters

This method validates name according to the rules for extended (AutoCAD 2000 and later) symbol names. allowVerticalBar is a boolean to indicate if vertical bars are allowed in the symbol name

Copyright © 2002–2020. Open Design Alliance. All rights reserved.