Client class
This component grants access to the Data Exchange functionality, offering methods for retrieving and updating both data and metadata associated with Data Exchanges.
public class Client : IClient
Public Members
| name | description |
|---|---|
| Client(…) | Initializes a new instance of the Client class. |
| EventsController { get; set; } | |
| FeatureFlagController { get; set; } | |
| PlatformAttributes { get; set; } | Gets or sets general purpose additional information about exchange. Connector-provided attributes are automatically merged with SDK metadata (ConnectorName, ConnectorVersion, etc.). Attribute names are limited to 64 characters, values to 128 characters. This dictionary's own entries are capped at 15; the combined total with SDK-reserved metadata is capped at 30. |
| ProgressStepsManager { get; } | |
| SDKOptions { get; } | Gets the options to configure DX SDK. |
| CreateCollectionAsync(…) | Creates a collection asynchronously. |
| CreateExchangeAsync(…) | Creates an exchange asynchronously. |
| DeleteExchangeAsync(…) | Deletes an exchange. |
| DownloadCompleteExchangeAsIFC(…) | Downloads the whole exchange as an IFC file. |
| DownloadCompleteExchangeAsOBJ(…) | Downloads the whole exchange as an OBJ file. |
| DownloadCompleteExchangeAsSTEP(…) | Downloads the whole exchange as a STEP file. |
| DownloadCompleteExchangeAsUSD(…) | Downloads the complete exchange data in USD format. |
| EnableHttpDebugLogging() | Enables logging all HTTP messages for debugging. |
| GetCollectionIdAsync(…) | Gets a collection using the project URN. The call is always region-routed; when hubId is supplied the region is resolved from the hub, otherwise from the project URN. |
| GetElementDataModelAsync(…) | Gets exchange data asynchronously. (3 methods) |
| GetExchangeDetailsAsync(…) | Gets exchange details by ID asynchronously. (2 methods) |
| GetExchangeRevisionsAsync(…) | Gets exchange revisions asynchronously. |
| GetHubIdAsync(…) | Gets the hub ID using the project URN. |
| GetLatestExchangeVersionAsync(…) | Gets exchange's latest file version asynchronously. |
| RetrieveLatestExchangeAsync(…) | Retrieves the latest exchange revision and updates the supplied elementDataModel. |
| SyncExchangeDataAsync(…) | Updates exchange data asynchronously. |
| static AssemblyResolve { get; set; } |
See Also
- interface IClient
- namespace Autodesk.DataExchange