public int AddSpatialFieldPrimitive( Reference reference, SpatialFieldPrimitiveHideMode hidingMode )
| Exception | Condition |
|---|---|
| ArgumentException | reference points to neither face nor curve |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
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.