Truss.Create
Description:
Creates a new Truss.
Creates a new Truss.
-
documentThe document in which the new Truss is created.
-
trussTypeIdElement id of the truss type.
-
sketchPlaneIdElement id of a SketchPlane.
-
curveThe curve of the truss element. It must be a line, must not be a vertical line, and must be within the sketch plane.
-
The input curve points to a helical curve and is not supported for this operation. -or- The element id should refer to a valid TrussType. -or- The element id should refer to a valid SketchPlane. -or- The curve is invalid to be the base curve of a truss.
-
A non-optional argument was null
-
This function is only enabled in Revit Structure and Revit Architecture. -or- Failed to create Truss element.