Ejemplo n.º 1
0
        public void Generate()
        {
            KD.SDK.SceneEnum.ViewMode currentViewMode = _buildCommon.GetView();

            Articles articles = this.CurrentAppli.GetArticleList(FilterArticle.FilterToGetWallByValid());

            if (articles != null && articles.Count > 0)
            {
                Walls walls = new Walls(articles);

                foreach (Wall wall in walls)
                {
                    Articles articlesAgainst = wall.AgainstMeASC;

                    if (articlesAgainst != null && articlesAgainst.Count > 0)
                    {
                        wall.IsActive = true;
                        _buildCommon.SetView(KD.SDK.SceneEnum.ViewMode.VECTELEVATION);
                        _buildCommon.ZoomAdjusted();
                        _buildCommon.ExportImageJPG(walls.IndexOf(wall) + 1, OrderTransmission.ElevName);
                    }
                }
                _buildCommon.SetView(currentViewMode);
            }
        }
Ejemplo n.º 2
0
 public void Generate()
 {
     KD.SDK.SceneEnum.ViewMode currentViewMode = _buildCommon.GetView();
     _buildCommon.SetView(KD.SDK.SceneEnum.ViewMode.TOP);
     _buildCommon.ZoomAdjusted();
     _buildCommon.ExportImageJPG(1, OrderTransmission.PlanName);
     _buildCommon.SetView(currentViewMode);
 }