Learn about enhancements to the API.
New in 2026.1
Updates to the API have been made in the following feature areas:
Alignments
- Added SettingsTag.SettingsCreation and SettingsTag.SettingsRenumbering to automatically renumber alignment tags based on station order.
Labels
- Added LabelStyle.GetDescendantIds() and LabelStyleCollection.GetDescendantIds() to get the objectId collection of all descendant label style objects.
- Added the LabelBase.ApplicableLabelStyleIds property, allowing Label and LabelGroup objects to directly access their associated LabelStyleCollection.
Model Viewer
- Added ModelViewerSetObjects to specify a set of objects to display in the model viewer.
Pressure Networks
- Added PressurePart.GetPartSize() to get the part size used to create the pressure part. Null is returned if the part size cannot be found in the parts list.
- Added PressurePartSize.PartListId to get the ObjectId of the PressurePartList object that owns the part size.
- Added Part.GetPartSizeId() to get the ObjectId of the PartSize used to create the part. ObjectId.Null is returned if the part size cannot be found in the parts list set to the network.
Surfaces
- Added SurfaceOperation.Guid to retrieve the GUID of a surface operation.
- Added SurfaceOperationCollection.get(GUID) to retrieve an operation from the collection based on its GUID.
- Added a SurfaceOperationCollection.Remove(GUID) to remove an operation with a specified GUID from the collection.
Learn more
New in 2026
Updates to the API have been made in the following feature areas:
Rail design
- Added API that gets the minimum distance between tracks of two alignments.
Learn more.
- Alignment.TrackDistanceToAlignment(double startStationOnThisAlignment, double endStationOnThisAlignment, double? gaugeForThisAlignment, ObjectId otherAlignmentId, double? gaugeForOtherAlignment, TrackDistanceCalculationMode trackDistanceCalculationMode)
- Added API that gets the distance between tracks of two alignments.
Learn more.
- Alignment.TrackDistanceToAlignment(double stationOnThisAlignment, double? gaugeForThisAlignment, ObjectId otherAlignmentId, double? gaugeForOtherAlignment, TrackDistanceCalculationMode trackDistanceCalculationMode).
- Added API that gets the distance between tracks of two alignments.
Learn more.
- Alignment.TrackDistanceToAlignment(List<double> stationListOnThisAlignment, double? gaugeForThisAlignment, ObjectId otherAlignmentId, double? gaugeForOtherAlignment, TrackDistanceCalculationMode trackDistanceCalculationMode).
- Added API that gets the station set according to the station type, intervals, and station range.
- Alignment.GetStationSet(StationTypes stationType, double majorInterval, double minorInterval, double startStation, double endStation).
Surfaces
- Added API that gets origination type which indicates the surface is created from a Corridor or Grading.
- Surface.OriginationType()
Partial surface reference
- Updated API Surface.Operations(). InvalidOperationException will be thrown when it is a referenced surface.
- Added API property bool to query if a current entity is a partial reference object.
- Entity.IsPartialReferenceObject
Added API that creates a partial reference surface with a specified boundary in the host drawing according to the host database, source drawing file name, surface name, and boundary object ID.
- DataShortcuts.CreatePartialReferenceSurface(Database hostDrawing, String sourceDrawingFilename, String surfaceName, ObjectId refBoundaryId).
- Added API that updates a partial reference surface in the host database after editing (adds, deletes, or changes) the reference boundary.
- DataShortcuts.UpdatePartialReferenceSurface(Database hostDrawing, ObjectId refSurfaceId)
- Added API that creates a partial reference surface with a specified boundary in the host drawing according to the host database, source drawing file name, surface name, and boundary object ID.
- DataShortcuts.DataShortcutManager.CreatePartialReferenceSurface(int index, Database hostDrawing, ObjectId dRefBoundaryId)
- Added API that provides access to the manager for partial reference boundaries.
- Surface.PartialReferenceBoundaryManager()
- Added API that retrieves all reference boundary object IDs.
- SurfacePartialReferenceBoundaryMgr.ReferenceBoundaryIds()
- Added API that adds a reference boundary to the partial reference surface.
- SurfacePartialReferenceBoundaryMgr.AddBoundary(ObjectId refBoundaryId)
- Added API that deletes a reference boundary from the partial reference surface.
- SurfacePartialReferenceBoundaryMgr.DeleteBoundary(ObjectId refBoundaryId)
Autodesk Construction Cloud