SpatialFieldManager.RemoveSpatialFieldPrimitive Method

SpatialFieldManagerRemoveSpatialFieldPrimitive Method

Removes analysis results primitive identified by the unique index

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void RemoveSpatialFieldPrimitive(
	int idx
)
Public Sub RemoveSpatialFieldPrimitive ( 
	idx As Integer
)
public:
void RemoveSpatialFieldPrimitive(
	int idx
)
member RemoveSpatialFieldPrimitive : 
        idx : int -> unit 

Parameters

idx  Int32
Unique index identifying the primitive
Exceptions
ExceptionCondition
ArgumentException idx refers to non-existent primitive
See Also