.NET Changes in Autodesk Civil 3D
This section covers changes to the Autodesk Civil 3D .NET API for Autodesk Civil 3D.
New in 2025.2.1
Autodesk Construction Cloud
New in 2025.2
Updates to the API have been made in the following feature areas:
- 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
- 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
- Added new properties for class ProfileViewBandItem:
- ProfileViewBandItem.Alingment2Id. Sets the secondary alignment for Horizontal Geometry band on profile view.
- ProfileViewBandItem.MaxDistance. Sets the maximum offset distance for Horizontal Geometry band on profile view.
- Added support for the .NET 8.0 framework. For more information, see the
.NET Core Developer's Guide.
- 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.