Request

Response

    ExchangeData class

    Represents a list of Exchange Data Assets and contains methods and properties to filter, search and navigate through it.

    public class ExchangeData : ICollection<BaseAsset>
    

    Public Members

    namedescription
    Count { get; } Represent number of assets.
    ExchangeID { get; } An unique identification id for data exchange.
    IsReadOnly { get; } Represent data exchange is read only or not.
    RootAsset { get; } The Top-Level Root Asset BaseAsset
    Add(…) Adds a new Asset to the list. Throws an exception if an asset with the same Id exists in the list.
    AddRange(…) Appends the list of Assets with an input list of assets.
    AddRelationship(…) Creates a new relationship between two Assets.
    Clear() Clear assets.
    Contains(…) Search asset.
    CopyTo(…) Copy asset array. Not implemented yet.
    GetAssetById(…) Returns an Asset given its Id.
    GetAssetsByType<T>() Returns a list of Assets by their types.
    GetEnumerator() Get enumerator of asset.
    override GetHashCode() Hash code
    Remove(…) Removes an Asset from the list based on the Asset Id. This also removes relationships that reference this Asset. (2 methods)
    SetBRepGeometryByAsset(…) Sets B-Rep Geometry to be associated with a Geometry Asset GeometryAsset
    SetCustomGeometryByAsset(…) Sets Custom Geometry to be associated with a Geometry Asset GeometryAsset
    SetMeshGeometryByAsset(…) Sets Mesh Geometry to be associated with a Geometry Asset GeometryAsset
    SetMeshObjectGeometryByAsset(…) Sets Mesh Object Geometry to be associated with a Geometry Asset GeometryAsset
    SetRootAsset(…) Sets the Root Asset by Id. The Asset should exist within the list.
    Update(…) Updates an Asset with an input Asset.

    See Also