Autodesk Vault ProfessionalVault API

ExportToPackage Method

Autodesk.Connectivity.WebServicesPackageService

Creates a package on the server based on the input packageData, fileFormat, and mappingInfo

Required Permissions

ERPExport

Syntax

public FileNameAndURL ExportToPackage(
   PkgItemsAndBOM packageData,
   FileFormat fileFormat,
   MapPair[] mappingInfo
)
Public Function ExportToPackage( _
   ByVal packageData As PkgItemsAndBOM, _
   ByVal fileFormat As FileFormat, _
   ByVal mappingInfo() As MapPair _
) As FileNameAndURL

Parameters

NameDescription
packageDataThe package data to export
fileFormatthe file format for the package
mappingInfoProperty mappings

Return Value

Information about the package file

Remarks

Creates package data but doesn't transfer it. The package file will be stored on the server. Use DownloadPackagePart to get the package data from the server.

See Also