Creates a new SpaceTag.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public SpaceTag NewSpaceTag( Space space, UV point, View view )
Parameters
- space Space
- The Space which the tag refers.
- point UV
- A 2D point that dictates the location on the level of the space.
- view View
- The view where the tag will lie.
Return Value
SpaceTagIf successful a SpaceTag object will be returned, otherwise nullptr. Suitable exceptions will be fired if the parameters are invalid.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the space does not exist in the given document. |
ArgumentException | Thrown if the view does not exist in the given document. |