anchorpoint.check_application(application_path: str, info: str = '', name: Optional[str] = None) bool#

Verifies if the provided application can be found on the system. Returns True if the application is found, shows a toast to the user if not. Set info=’my info’ to guide the user how to fix the problem. Pass name=”my executable” to check the expected name of the application.

  • application_path (str) – The path to the application

  • info (Optional[str]) – Description how the user can fix the problem

  • name (str) – The expected name of the application


>>> if anchorpoint.check_application("path/to/blender.exe", "Please install blender from blender.org", "blender"):
>>>     print ("Blender found, starting to render...")
anchorpoint.temp_dir() str#

Returns a writable temporary directory