Copy the current style and add it to the parent node as a sibling.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public virtual ObjectId CopyAsSibling( string styleName )
VB
Public Overridable Function CopyAsSibling ( styleName As String ) As ObjectId
C++
public: virtual ObjectId CopyAsSibling( String^ styleName )
Parameters
- styleName String
- The name of the style.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the name is duplicate. |