API Reference > Namespaces > OdBm Namespace > OdBm::Utils Namespace > Functions > OdBm::Utils::executeCommand Function
OdBm::Utils::executeCommand Function
Syntax
C++
OdResult TB_COMMON_EXPORT executeCommand(const OdString& cmdName, OdEdCommandContext* pCmdCtx, const OdString& groupName = OdString::kEmpty);

BmSystemUtils.h

Parameters 
Description 
const OdString& cmdName 
[in] Command name.  
OdEdCommandContext* pCmdCtx 
[in] Command context.  
const OdString& groupName = OdString::kEmpty 
[in] Command group, which this command belongs to.  

Error code if command execution failed.

Overrides ::odedRegCmds()->executeCommand(...) with different defaults. Doesn't hide failed commands by default. 

 

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