SpatialFieldManagerAddSpatialFieldPrimitive(Reference) Method |
Creates an empty analysis results primitive associated with a reference.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic int AddSpatialFieldPrimitive(
Reference reference
)
Public Function AddSpatialFieldPrimitive (
reference As Reference
) As Integer
public:
int AddSpatialFieldPrimitive(
Reference^ reference
)
member AddSpatialFieldPrimitive :
reference : Reference -> int
Parameters
- reference Reference
-
Reference pointing to the curve or face to be associated with the primitive
Return Value
Int32
Unique index of primitive for future references
Exceptions
Remarks There can be multiple primitives associated with one reference, normally they would be shown with different results.
However this is justified only if they have different sets of domain points.
Otherwise one primitive can be used to display values for different results.
See Also