Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
SimpleSectionBase<class TItem>::createNew Method
Syntax
C++
OdSharedPtr<TItem> createNew(const OdAnsiString& name, const OdAnsiString& value);

Creates a new item with specified name and value in the section.

Parameters
Description
name
[in] An ANSI string that contains the name of an item to be created.
value
[in] An ANSI string that contains the value of the created item.

A shared pointer to the created item; if the item with the specified name exists within the section, the method returns a NULL (nullptr) smart pointer.

Copyright © 2002-2022. Open Design Alliance All rights reserved.