SpanDirectionSymbol.Create
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.
public static SpanDirectionSymbol Create(
Document document,
ElementId viewId,
LinkElementId elemIdToTag,
XYZ headPosistion,
ElementId symbolId
)
-
documentThe document.
-
viewIdThe id of the view in which the symbol should appear.
-
elemIdToTagThe ElementId of a Floor (either in the document or linked from another document).
-
headPosistionThe span symbol's head position.
-
symbolIdThe id of the family symbol of this span symbol.
-
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.
-
A non-optional argument was null