Appearance.copyTo Method

Parent Object: Appearance
Defined in namespace "adsk::core" and the header file is <Core/Materials/Appearance.h>

Description

This function is retired. See more information in the 'Remarks' section below.

Copies this appearance to the specified target.

Remarks

This method has been retired and replaced by the addByCopyMethod on the Appearances object.

Syntax

"appearance_var" is a variable referencing an Appearance object.
returnValue = appearance_var.copyTo(target)
"appearance_var" is a variable referencing an Appearance object.

#include <Core/Materials/Appearance.h>

returnValue = appearance_var->copyTo(target);

Return Value

Type Description
boolean Returns true if the copy was successful.

Parameters

Name Type Description
target Base The target can be a Design or FavoriteAppearances object.

Version

Introduced in version August 2014
Retired in version July 2023