Creates a new instance of a StructureLabel on a Structure using the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( ObjectId structureId )
Visual Basic
Public Shared Function Create ( _ structureId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId structureId )
Parameters
- structureId
- Type: ObjectId
The ObjectId of the Structure on which the label is located.
Remarks
The LabelLocation of the new label is on the center of the Structure.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the structureId is invalid. |