/// <summary> /// NOT WORKING YET /// Generates flakeboard stripes objects from the given properties. /// </summary> /// <param name="props">Needed properties.</param> public static List <FamilyInstance> CreateFlakeboardStripesDirectly(FlakeboardStripesProperties props) { List <FS_Rectangle> allLines = CreateFlakeboardRectangles(props); List <FamilyInstance> allInstances = new List <FamilyInstance>(); foreach (var item in allLines) { allInstances.Add(FamilyHelper.Create( props.FlakeboardType, props.FloorData.Level, Point.ByCoordinates(item.CenterPosition.X, item.CenterPosition.Y, item.CenterPosition.Z), props.FlakeboardRotation, item.Length, item.Width )); } return(allInstances); }