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