M

AppearanceAssetElement.Duplicate

Description:
Duplicates the appearance asset element.
Remarks:
The asset contained by this element will be duplicated as well. Changes to the duplicated element or its asset do not affect the original element and asset.
public AppearanceAssetElement Duplicate(
	string name
)
  • String
    name
    Name of the new appearance asset element - this name must be correctly structured for Revit use and not duplicate the name of another appearance asset in the document.
Return Value AppearanceAssetElement The new AppearanceAssetElement.
  • name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~". -or- The given value for name is already in use as an appearance asset name.
  • A non-optional argument was null