Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmAppearanceAssetHelper::getTextureAsset Method (OdBmAssetPtr&, const OdString&)
Syntax
C++
OdResult getTextureAsset(OdBmAssetPtr& pAsset, const OdString& propertyName = OdString::kEmpty) const;

Returns a connected asset only if the asset defines a bitmap of the material appearance. 

 

Parameters
Description
pAsset
[out] The output texture asset.
propertyName
[in] Defines the name of the asset property in which method will try to find the texture. If not specified, the default property will be used.

eOk if the operation was successful, and appropriate error code otherwise.

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