CODInsertCommand Class
class CODInsertCommand: public CODIndexedCommand
Inserts components into a model.Defined in: OdInsertCmd.h
Class Members
CODInsertCommand(CODModel* pModel)
Constructor.
virtual ~CODInsertCommand()
Destructor.
BOOL m_bAllowDuplicates
Indicates if insert command will check for duplicate components.
void AllowDuplicates(const BOOL bFlag)
Set to command to either allow or disallow duplicate components.
virtual BOOL Execute()
Inserts the components into the model.
virtual sfl::MvcCommand* Inverse() const
Creates a command which performs the inverse of this command.
virtual sfl::MvcCommand* Dup() const
Make a copy of this insert command
virtual void Sprint(CString& strCmd)
Print information on the insert command for logging purposes.