Revit 2025.3 API
FormRehost(Reference, XYZ) Method |
Rehost Form to edge, face or curve.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void Rehost( Reference hostRef, XYZ location )
Public Sub Rehost ( hostRef As Reference, location As XYZ )
public: void Rehost( Reference^ hostRef, XYZ^ location )
member Rehost : hostRef : Reference * location : XYZ -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the hostRef or location is . |
| InvalidOperationException | Thrown when rehosting Form failed. |
See Also