Renumbers the PointNumber to a new value.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public uint Renumber( uint newPointNumber, PointNumberResolveType resolveType )
VB
Public Function Renumber ( newPointNumber As UInteger, resolveType As PointNumberResolveType ) As UInteger
C++
public: unsigned int Renumber( unsigned int newPointNumber, PointNumberResolveType resolveType )
Parameters
- newPointNumber UInt32
- Specified the new pointNumer.
- resolveType PointNumberResolveType
- Specified the way to resolve the point number duplication situation.
Return Value
UInt32The new PointNumber. If a CogoPoint with newPointNumber already exists, this method will try to find another new valid PointNumber based on the enum value of resolveType. Therefore the return value may differ from the newPointNumber passed to the method.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the CogoPoint is a ProjectPoint and is not checked out, and the "Allow Checked-In Points to be Modified" setting is false. |