THIS API IS IN BETA AND THIS DOCUMENTATION IS INTENDED FOR BETA USERS ONLY
Client.DownloadGeometriesAsSTEP method
Download geometry assets from a given exchange container as STEP models. The exchange can be identified either through an exchange urn (starting with urn:) or an exchange Id.
public int DownloadGeometriesAsSTEP(string exchangeIdentifier, AssetFilter inFilter = null)
parameter | description |
---|---|
exchangeIdentifier | The exchange container file urn or exchange Id. |
inFilter | Optional asset filter allows finer control over the results. |
Return Value
The number of STEP models downloaded.
Remarks
See the documentation for “AssetFilter” to see how the filter can be used to limit the results. STEP models will be downloaded into output directory. Default directory is “GeometryBinaryOutput” within application working directory. There will also an associated json file for each STEP file, which contains the asset id, unit settings, and transformation. Please note that the transformation is not in design or assembly instance context. It’s the transformation for the geometry itself, so in most cases, it will be just an identity matrix.
See Also
- class AssetFilter
- class Client
- namespace Autodesk.GeometryUtilities.SDK