Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
newOdTfAttribute Function
Syntax
C++
TFCORE_EXPORT OdTfAttribute* newOdTfAttribute(const OdString& name, OdRxObject* pOwner, const OdTfVariant& value);

This function creates and initializes a new attribute object with specified parameters.

Parameters
Description
name
[in] A name of the attribute.
pOwner
[in] A pointer to the owner object.
value
[in] A data type of the property.

Returns a raw pointer to the created and initialized attribute object.

File: TfObject.h

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