public ElementId HostId { get; set; }| Exception | Condition |
|---|---|
| ArgumentException | When setting this property: The hostId is not a valid railing host. |
| ArgumentNullException | When setting this property: A non-optional argument was null |
If %hostId% is the id of a Stairs Component (Run or Landing), it means that the Railing will be hosted by the Stairs element but railing adjustment to the stairs will start from the Component. If a stairs id is set as a host, the lowest stairs component below or above the railing sketch will be chosen as the host instead.