![]() RebarContainerItem item = container.AppendItemFromCurves Line line = Line.CreateBound(origin, rebarLineEnd) Ĭurve rebarLine = line.CreateOffset(0.5, normal) create rebar along the length of the beam LocationCurve location = beam.Location as LocationCurve Define the rebar geometry information - Line rebar ![]() RebarBarType barType, RebarHookType hookType) void AddItemsToRebarContainer(RebarContainer container, FamilyInstance beam, Here is the code in order to create a rebar Container. Which requires the Document in which you want to create a new RebarContainer, the host Element which will host the new RebarContainer and the ElementId of the RebarContainerType which will be assigned to the new RebarContainer. You may use the static method RebarContainer.Create() RebarContainerItem provides properties and methods similar to that of a Rebar element. Each RebarContainer contains a collection (empty when first created) of RebarContainerItem objects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |