FabricReinSpanSymbolCreate Method |
Places a new instance of the Structural Fabric Reinforcement Symbol into the project relative to a particular FabricSheet and View.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static FabricReinSpanSymbol Create(
Document document,
ElementId viewId,
LinkElementId hostId,
XYZ point,
ElementId symbolId
)
Public Shared Function Create (
document As Document,
viewId As ElementId,
hostId As LinkElementId,
point As XYZ,
symbolId As ElementId
) As FabricReinSpanSymbol
public:
static FabricReinSpanSymbol^ Create(
Document^ document,
ElementId^ viewId,
LinkElementId^ hostId,
XYZ^ point,
ElementId^ symbolId
)
static member Create :
document : Document *
viewId : ElementId *
hostId : LinkElementId *
point : XYZ *
symbolId : ElementId -> FabricReinSpanSymbol
Parameters
- document Document
-
The document.
- viewId ElementId
-
The id of the view in which the symbol should appear.
- hostId LinkElementId
-
The ElementId of FabricSheet (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
FabricReinSpanSymbol
A reference to the newly-created symbol.
ExceptionsException | Condition |
---|
ArgumentException |
hostId should refer to a FabricSheet 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
|
See Also