Creates a user-defined property with a double data type.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public UDPDouble CreateUDP( AttributeTypeInfoDouble udpTypeInfo, Guid guid )
Visual Basic
Public Function CreateUDP ( _ udpTypeInfo As AttributeTypeInfoDouble, _ guid As Guid _ ) As UDPDouble
Visual C++
public: UDPDouble^ CreateUDP( AttributeTypeInfoDouble^ udpTypeInfo, Guid guid )
Parameters
- udpTypeInfo
- Type: Autodesk.Civil.DatabaseServices.AttributeTypeInfoDouble
An AttributeTypeInfoDouble that defines the parameters for the new user-defined property.
- guid
- Type: System.Guid
the Guid for the user-defined property.
Remarks
When the guid parameter is Guid.Empty, a new GUID is automatically assigned to the user-defined property.
Multiple UDPs can share the same GUID, however, the combination of the UDP name + GUID must be unique.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the UDP identifier(name + GUID) is not unique. |