2021 Method
Changes 0
M

SpatialFieldManager.AddSpatialFieldPrimitive

Description:
Creates empty analysis results primitive associated with a curve and a transform.
public int AddSpatialFieldPrimitive(
	Curve curve,
	Transform trf
)
  • curve
    Curve to be associated with the primitive. %curve% does NOT correspond to actual Revit geometry, i.e. it cannot be associated with reference; otherwise the other overload of the method must be used (taking "reference" as the input)
  • trf
    Conformal Transform to be applied to %curve%.
Return Value int Unique index of primitive for future references