Share

Document.NewSpaceTag Method

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

SpaceTag
If successful a SpaceTag object will be returned, otherwise nullptr. Suitable exceptions will be fired if the parameters are invalid.

Exceptions

ExceptionCondition
ArgumentExceptionThrown if the space does not exist in the given document.
ArgumentExceptionThrown if the view does not exist in the given document.

See Also

Reference

Was this information helpful?