RebarSystemSpanSymbol.Create
Method
Description:
Creates a new instance of RebarSystemSpanSymbol in the project.
Creates a new instance of RebarSystemSpanSymbol in the project.
Syntax
public static RebarSystemSpanSymbol Create(
Document document,
ElementId viewId,
LinkElementId hostId,
XYZ point,
ElementId symbolId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| viewId | ElementId | The id of the view in which the symbol should appear. |
| hostId | LinkElementId | The ElementId of AreaReinforcement (either in the document, or linked from another document). |
| point | XYZ | The span symbol's head position. |
| symbolId | ElementId | The id of the family symbol of this symbol. |
Return Value
| Type | Description |
|---|---|
| RebarSystemSpanSymbol | A reference to newly created span symbol. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | hostId should refer to a AreaReinforcement element. -or- viewId does not refer to a valid view type for FabricReinSpanSymbol - only floor plan, reflected ceiling plans and elevations are permitted. -or- symbolId should refer to a FamilySymbol of category OST_FabricReinSpanSymbol. |
| ArgumentNullException | A non-optional argument was null |