/// <summary> /// Load Slab Style /// </summary> /// <param name="factory"></param> /// <param name="project"></param> /// <returns></returns> private IEnumerable<RecSectionStyleStd> GetSlabStyles( string factory, string project ) { // Load Slab Style var slabStyleSvc = new ProjectManager(); var slabStyles = slabStyleSvc.LoadSlabStyleStd( factory, project ); var styles = new List<RecSectionStyleStd>(); foreach( var ss in slabStyles ) { var rec = new RecSectionStyleStd { Factory = ss.Factory, Project = ss.Project, ElementType = ss.ElementType, Name = ss.Name, DirectionArrowJustify = ss.DirectionArrowJustify, SectionType = "", Description = ss.Description, StrandSpacing = ss.StrandSpacing, StrandEdgeDistance = ss.StrandEdgeDistance, Strandpatterns = new List<Strandpattern>(), }; //int numOfStrands = 0 //if( rec //rec.Strandpatterns.Add( new Strandpattern( "", rec.NumOfStrands ) ); styles.Add( rec ); } return styles; }