Rebar |
public static ISet<ElementId> AlignByHost( Document doc, IList<Rebar> sourceRebars, Element destinationHost )
Exception | Condition |
---|---|
ArgumentException | There are no source rebars to propagate. -or- The rebars should be from the same host. -or- The rebars that are group members can't be propagated. -or- destinationHost is not a valid rebar host. -or- The source and destination hosts should be of the same category. -or- The source and destination hosts must be different elements. -or- This method uses its own transaction, so it's not permitted to be invoked in an active transaction. |
ArgumentNullException | A non-optional argument was null |
The source and destination hosts should be of the same category.
The source and destination hosts should be different elements.
The destination host must be able to host rebar.
The source rebars should not be gourp members.
This method uses its own transaction, so it's not permitted to be invoked in an active transaction.