Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

VersionControl.Asset.isInCurrentProject

var isInCurrentProject: bool;
bool isInCurrentProject;
isInCurrentProject as bool

Description

Returns true if the assets is in the current project.

If you have multiple projects or other files in the version controls repository. The window showing the incoming changes will display all changes incoming from the remote repository. Some of these changes might be to other projects or files not part of the currently open project. In that case this will return false.