GeneratedAssetLocation

GeneratedAssetLocation

is an option for functions like VideoGenerator that specifies the location of the resulting asset.

Details

  • Typical settings include:
  • Automaticautomatic 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
    "dir/"storing under the directory dir, using an automatic file name
    Nonestoring 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 all

Basic 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:

Wolfram Research (2020), GeneratedAssetLocation, Wolfram Language function, https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html (updated 2022).

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

BibTeX

@misc{reference.wolfram_2024_generatedassetlocation, author="Wolfram Research", title="{GeneratedAssetLocation}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html}", note=[Accessed: 25-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_generatedassetlocation, organization={Wolfram Research}, title={GeneratedAssetLocation}, year={2022}, url={https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html}, note=[Accessed: 25-April-2024 ]}