Rebar.CreateFreeForm
Description:
Creates a free form rebar that can have constraints.
Creates a free form rebar that can have constraints.
Remarks:
It requires a server GUID which will have the responsibility to define bar handles(which will be constrained) and to do the calculation of the curves. See IRebarUpdateServer for more details.
It requires a server GUID which will have the responsibility to define bar handles(which will be constrained) and to do the calculation of the curves. See IRebarUpdateServer for more details.
Overloads (3):
CreateFreeForm(Document,Guid,RebarBarType,Element)
public static Rebar CreateFreeForm(
Document doc,
Guid serverGUID,
RebarBarType barType,
Element host
)
-
docA Document.
-
GuidserverGUIDThe API server GUID. Should be the same that the function GetServerId() from class derived from IRebarUpdateServer returns. This server has the responsibility to calculate the bars of Rebar.
-
barTypeA RebarBarType element that defines bar diameter, bend radius and material of the rebar.
-
hostThe element to which the rebar belongs. The element must support rebar hosting.
-
host is not a valid rebar host. -or- The server with serverGUID was not registered for RebarUpdateService.
-
A non-optional argument was NULL
-
None of the following disciplines is enabled: Structural.