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
    "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.

Examples

open allclose all

Basic Examples  (1)

Specify the location of the generated asset in VideoGenerator:

Scope  (4)

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 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.

Text

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

BibTeX

@misc{reference.wolfram_2021_generatedassetlocation, author="Wolfram Research", title="{GeneratedAssetLocation}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html}", note=[Accessed: 01-August-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_generatedassetlocation, organization={Wolfram Research}, title={GeneratedAssetLocation}, year={2020}, url={https://reference.wolfram.com/language/ref/GeneratedAssetLocation.html}, note=[Accessed: 01-August-2021 ]}

CMS

Wolfram Language. 2020. "GeneratedAssetLocation." Wolfram Language & System Documentation Center. Wolfram Research. 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