SpanDirectionSymbol.Create
Method
Description:
Places a new instance of the Span Direction Symbol into the project relative to a particular host element and view.
Places a new instance of the Span Direction Symbol into the project relative to a particular host element and view.
Syntax
public static SpanDirectionSymbol Create(
Document document,
ElementId viewId,
LinkElementId elemIdToTag,
XYZ headPosistion,
ElementId symbolId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
viewId | ElementId | The id of the view in which the symbol should appear. |
elemIdToTag | LinkElementId | The ElementId of a Floor (either in the document or linked from another document). |
headPosistion | XYZ | The span symbol's head position. |
symbolId | ElementId | The id of the family symbol of this span symbol. |
Return Value
Type | Description |
---|---|
SpanDirectionSymbol | Returns the newly created symbol. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The specified viewId should represent a Plan View. -or- The specified elemIdToTag should represent a Floor element. -or- The specified symbolId isn't valid. It should be a FamilySymbol of OST_SpanDirectionSymbol category. |
ArgumentNullException | A non-optional argument was null |