Places the part on the specified host.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2018
Syntax
C# |
---|
public void PlaceOnHost(
ElementId hostId,
Connector hostConnector,
double distance,
double axisRotation
) |
Visual Basic |
---|
Public Sub PlaceOnHost ( _
hostId As ElementId, _
hostConnector As Connector, _
distance As Double, _
axisRotation As Double _
) |
Visual C++ |
---|
public:
void PlaceOnHost(
ElementId^ hostId,
Connector^ hostConnector,
double distance,
double axisRotation
) |
Parameters
- hostId
- Type: Autodesk.Revit.DB..::..ElementId
Id of the host fabrication part.
- hostConnector
- Type: Autodesk.Revit.DB..::..Connector
The connector of the host.
- distance
- Type: System..::..Double
The distance from the connector to place the hosted part. Units are in feet (ft).
- axisRotation
- Type: System..::..Double
The axis rotation in radians.
Remarks
Exceptions
See Also