WallSweep.Create
Description:
Creates a new wall sweep or reveal.
Creates a new wall sweep or reveal.
Remarks:
The wall sweep's profile and type are taken from the wall sweep type properties. The values set in the WallSweepInfo are ignored.
The wall sweep's profile and type are taken from the wall sweep type properties. The values set in the WallSweepInfo are ignored.
public static WallSweep Create(
Wall wall,
ElementId wallSweepType,
WallSweepInfo wallSweepInfo
)
-
wallThe wall upon which to create the new sweep or reveal.
-
wallSweepTypeThe wall sweep or reveal type.
-
wallSweepInfoThe information that describes the new wall sweep or reveal.
-
The wall sweep info represents a fixed wall sweep. Fixed wall sweeps may not be assigned to standalone wall sweep elements. -or- The WallSweepInfo id must be set to -1 for a non-fixed wall sweep. -or- wall may not host a wall sweep or reveal.
-
A non-optional argument was null