API Reference > Classes > OdTf Classes > OdTfObject Class > OdTfObject Methods > OdTfObject::addPersistentReactor Method
OdTfObject::addPersistentReactor Method
Syntax
C++
virtual void addPersistentReactor(OdTfPersistentReactor* pPersistentReactor) = 0;
Parameters 
Description 
OdTfPersistentReactor* pPersistentReactor 
[in] A pointer to the persistent reactor object. 

Adds a new persistent reactor object to the element's reactor list.

Before adding a persistent reactor object, open the element in the write mode. If the persistent reactor does not have an owner object, it isn't saved within the drawing.

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