Frame.CanDefineRevitGeometry
Method
Description:
Tests whether the supplied Frame object may be used to define a Revit curve or surface. In order to satisfy the requirements the Frame must be orthonormal and its origin is expected to lie within the Revit design limits .
Tests whether the supplied Frame object may be used to define a Revit curve or surface. In order to satisfy the requirements the Frame must be orthonormal and its origin is expected to lie within the Revit design limits .
Remarks:
Certain Revit curve and surface types are defined using a local frame of reference.
Certain Revit curve and surface types are defined using a local frame of reference.
Parameters
Parameter | Type | Description |
---|---|---|
frameOfReference | Frame | Frame to be validated. |
Return Value
Type | Description |
---|---|
Boolean | True if this Frame may be used as a local frame of reference, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |