Share
 
 

API Enhancements (What's New in 2025, 2025.1, and 2025.2)

Learn about enhancements to the API.

New in 2025.2

Updates to the API have been made in the following feature areas:

  • Added new properties available under cant critical stations of cant curves.
    • CANTCriticalStation::CantJerk. Gets the Cant Jerk setting for a cant critical station.
    • CANTCriticalStation::CantRatio. Gets the Cant Ratio setting for a cant critical station.

    For more information, see Cant Tabular Editor Dialog Box.

  • Added new properties available under the RailCANTInfo structure.
    • RailCANTInfo.LateralAcceleration
    • RailCANTInfo.CantGradient
    • RailCANTInfo.CurveRadius
    • RailCANTInfo.EquilibriumCant
    • RailCANTInfo.EquilibriumCantGradient
    • RailCANTInfo.EquilibriumCantVerticalSpeed
    • RailCANTInfo.CantDeficiency
    • RailCANTInfo.CantDeficiencyGradient
    • RailCANTInfo.CantDeficiencyVerticalSpeed
    • RailCANTInfo.CantRatio
    • RailCANTInfo.CantJerk
    • RailCANTInfo.VerticalSpeed
    • RailCANTInfo.DesignSpeed
  • Improved performance for the RailCANTInfo structure.
  • Updated properties for class ProfileViewBandItem:
    • ProfileViewBandItem.Alingment2Id. Sets the secondary alignment for a Cant Data band in a profile view.
    • ProfileViewBandItem.MaxDistance. Sets the maximum offset distance for a Cant Data band in a profile view.
    • For more information on band properties, see Bands Tab (Profile View Properties Dialog Box).

  • Updated properties for class ProfileViewBandSetItem:
    • ProfileViewBandSetItem::GetHorizontalGeometryPointsOptions(). Gets the Horizontal Geometry Points options information.
    • ProfileViewBandSetItem::SetHorizontalGeometryPointsOptions. Sets the Horizontal Geometry Points options.
    • For more information on geometry points in a band, see Geometry Points to Label in Band Dialog Box.

  • Updates for gravity pipes.
    • Added the API class CrossingPipeProfileLabel.
    • Added ObjectIDCollection methods:
      • CrossingPipeProfileLabel.Create(ObjectId profileViewPartId, ObjectId profileViewId, ObjectId labelStyleId);
      • CrossingPipeProfileLabel.Create(ObjectId profileViewPartId, ObjectId profileViewId);
      • GetAvailableLabelIds(ObjectId profileViewPartId, ObjectId profileViewId);}}

New in 2025.1

Updates to the API have been made in the following feature areas:

  • Added PressurePart.SwapPartSize to swap part sizes for pressure pipes, fittings, and appurtenances.
  • Added new properties for class CANTCriticalStation:
    • CANTCriticalStation.DesignSpeed. Gets the design speed for cant critical stations of cant curves.
    • CANTCriticalStation.CurveRadius. Gets the curve radius for cant critical stations of cant curves.
    • CANTCriticalStation.EquilibriumCantGradient. Gets the cant gradient for cant critical stations of cant curves.
    • CANTCriticalStation.CantDeficiencyGradient. Gets the deficiency gradient for cant critical stations of cant curves.
    • CANTCriticalStation.EquilibriumCantVerticalSpeed. Gets the equilibrium vertical speed for cant critical stations of cant curves.
    • CANTCriticalStation.CantDeficiencyVerticalSpeed. Gets the deficiency vertical speed for cant critical stations of cant curves.
  • Added new properties for class ProfileViewBandItem:
    • ProfileViewBandItem.Alingment2Id. Sets the secondary alignment for a Horizontal Geometry band in a profile view.
    • ProfileViewBandItem.MaxDistance. Sets the maximum offset distance for a Horizontal Geometry band in a profile view.
    • For more information on horizontal geometry band properties, see Bands Tab (Profile View Properties Dialog Box).

  • Added example code for the following ProfileView Methods:
    • ProfileView.Create(ObjectId, Point3d)
    • ProfileView.Create(ObjectId, Point3d, SplitProfileViewCreationOptions)
    • ProfileView.Create(ObjectId, Point3d, StackedProfileViewsCreationOptions)
    • ProfileView.Create(ObjectId, Point3d, StackedProfileViewsCreationOptions, SplitProfileViewCreationOptions)
    • ProfileView.Create(CivilDocument, String, ObjectId, ObjectId, Point3d)
    • ProfileView.Create(CivilDocument, String, String, String, Point3d)
    • ProfileView.Create(ObjectId, Point3d, String, ObjectId, ObjectId)
    • ProfileView.Create(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions)
    • ProfileView.Create(ObjectId, Point3d, String, ObjectId, ObjectId, SplitProfileViewCreationOptions)
    • ProfileView.Create(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, SplitProfileViewCreationOptions)
    • ProfileView.CreateMultiple(ObjectId, Point3d, MultipleProfileViewsCreationOptions)
    • ProfileView.CreateMultiple(ObjectId, Point3d, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions)
    • ProfileView.CreateMultiple(ObjectId, Point3d, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType)
    • ProfileView.CreateMultiple(ObjectId, Point3d, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType)
    • ProfileView.CreateMultiple(ObjectId, Point3d, String, ObjectId, ObjectId, MultipleProfileViewsCreationOptions)
    • ProfileView.CreateMultiple(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions)
    • ProfileView.CreateMultiple(ObjectId, Point3d, String, ObjectId, ObjectId, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType)
    • ProfileView.CreateMultiple(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType)

    For more information, on ProfileView Methods, see ProfileView Methods.

New in 2025

Updates to the API have been made in the following feature areas:

  • Support for the .NET 8.0 framework.
  • Added .NET API support for the surface level of detail feature. For more information see Modify the Level of Detail of Surfaces.
    • Surface.IsLevelOfDetailEnabled. Get and set the surface level of detail status.
    • SettingsSurface.Defaults.LevelOfDetail. Get the property of the surface level of detail default setting.

For more information, see New Features in the Autodesk Civil 3D API.

Was this information helpful?