“Получите All ViewSheet Revit API” Ответ

Получите All ViewSheet Revit API

IEnumerable<ViewSheet> AllSheets = new FilteredElementCollector(doc)
            	.OfClass(typeof(ViewSheet))
            	.OfCategory(BuiltInCategory.OST_Sheets)
            	.Cast<ViewSheet>();
Sore Stork

Расположение листа View -heat Revit API

  BoundingBoxXYZ xyzLocation 
    = SelectedView.get_BoundingBox( 
      m_Doc.ActiveView );
 
  // get the outline max and min 
 
  XYZ ptMaxOutline = new XYZ( 
    CorrespondingView.Outline.Max.U, 
    CorrespondingView.Outline.Max.V, 
    0 );
 
  // get the view's origin point's 
  // coordinates in current view sheet. 
 
  UV ptSourceViewOriginInSheet = new UV( 
    xyzLocation.Max.X - ptMaxOutline.X,
    xyzLocation.Max.Y - ptMaxOutline.Y ); 
Sore Stork

Ответы похожие на “Получите All ViewSheet Revit API”

Вопросы похожие на “Получите All ViewSheet Revit API”

Больше похожих ответов на “Получите All ViewSheet Revit API” по C#

Смотреть популярные ответы по языку

Смотреть другие языки программирования