API Reference > Classes > Family Classes > OdBmFamily Class > OdBmFamily Methods > OdBmFamily::setSurrogateId Method
OdBmFamily::setSurrogateId Method
Syntax
C++
OdResult setSurrogateId(const OdBmObjectId&);
Parameters 
Description 
id 
[in] An OdBmObjectId instance that represents the new identifier to be set.  

eOk if the new identifier was successfully set; otherwise, the method returns an appropriate error code.

Sets a new identifier for the family's surrogate.

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