FavoriteAppearances.add Method
Parent Object:
FavoriteAppearancesDefined in namespace "adsk::core" and the header file is <Core/Materials/FavoriteAppearances.h>
Description
Adds an existing appearance to the Favorites list
Syntax
"favoriteAppearances_var" is a variable referencing a FavoriteAppearances object.returnValue = favoriteAppearances_var.add(appearance)
|
"favoriteAppearances_var" is a variable referencing a FavoriteAppearances object.
#include <Core/Materials/FavoriteAppearances.h>
returnValue = favoriteAppearances_var->add(appearance);
|
Return Value
Appearance |
Returns the Appearance added to the favorites list or null if the operation failed. |
Parameters
appearance |
Appearance |
The appearance to be added to the favorites list. This can come from a Library or from a Design. |
Version
Introduced in version January 2016