I try create new family from my command. But I don't now how it's made. I know that I need open template and edit it. But I don't know how to create lines, rectangles and text. Please give me a few samples.
using (Transaction trans = new Transaction(doc,"test"))
Line line = app.Application.Create.NewLineBound(new XYZ(0, 0, 0), new XYZ(10, 10, 0));