Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ObjectNames.SetNameSmart

Switch to Manual
public static function SetNameSmart(obj: Object, name: string): void;

Parameters

Description

Sets the name of an Object.

If the object is an Asset, renames the asset and file names to match the object.