GeneratedAssetLocation
is an option for functions like VideoGenerator that specifies the location of the resulting asset.
Details
- Typical settings include:
-
Automatic automatic setting File[…] or "file" storing in a local file LocalObject[…] or "LocalObject" storing in a local object CloudObject[…] or "CloudObject" storing in a cloud object "CloudObjectPublic" storing in a cloud object with permission set to public "dir/" storing under the directory dir, using an automatic file name None storing in memory when possible - In GeneratedAssetLocation"dir/", if the directory "dir" already exists then the trailing path name separator is optional.
- Use GeneratedAssetFormat to specify the format of the resulting asset.
Examples
open allclose allBasic Examples (1)
Specify the location of the generated asset in VideoGenerator:
Scope (5)
Specify the location of the generated asset using a File object:
Specify the location of the generated asset using a LocalObject:
The resulting LocalObject will contain a video file:
Specify the location of the generated asset using a CloudObject:
The resulting LocalObject will contain a video file:
Specify a directory for the generated asset:
The resulting asset will be created in the specified directory using an automatically generated file name:
Use None to generate a result that doesn't rely on an external asset:
Not all functions support GeneratedAssetLocationNone:
Properties & Relations (1)
The automatic location for the generated asset depends on the specific function.
For Video-related functions, assets will be generated in the "Video" directory under $WolframDocumentsDirectory:
For Audio-related functions, assets will be generated in the "Audio" directory under $WolframDocumentsDirectory:
Text
Wolfram Research (2020), GeneratedAssetLocation, Wolfram Language function, https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html (updated 2022).
CMS
Wolfram Language. 2020. "GeneratedAssetLocation." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html.
APA
Wolfram Language. (2020). GeneratedAssetLocation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html