Parent Object: DataFolder Defined in namespace "adsk::core" and the header file is <Core/Dashboard/DataFolder.h>
Description
Uploads a set of files that represent an assembly. There should only be a single top-level assembly file but there can be any number of other files that represent sub-assemblies.
Uploading an assembly is not supported within any of the Command related events. When a command is running, a transaction is open, and uploading files cannot be transacted and, as a result, cannot be contained within a command transaction.
The upload process is asynchronous which means that this method will return before the upload process has completed. The returned DataFileFuture object can be used to check on the current state of the upload to determine if it is still uploading, is complete, or has failed. If it is complete the final DataFile can be retrieved through the DataFileFuture object.
Parameters
Name
Type
Description
filenames
string[]
An array of strings that contains the list of all of the files that are part of the assembly. The name of the top-level assembly file must be the first file in the array.