Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

viewsheet location 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 ); 
Comment

get all viewsheet revit api

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

PREVIOUS NEXT
Code Example
Csharp :: calculated field gridview asp.net 
Csharp :: unity call function after delay 
Csharp :: C# return json data from File 
Csharp :: c# enum variable set to nonthing 
Csharp :: .net core not returning the sub list 
Csharp :: telerik mvc grid round sum result 
Csharp :: How to enumerate an enum 
Csharp :: c# fill values of child from parent 
Csharp :: CS0176 
Csharp :: basic math functions in c# 
Csharp :: c# download image from url 
Csharp :: chaine de connexion sql server c# 
Csharp :: what is the default value for an enum c# 
Csharp :: c# read key without writing 
Csharp :: EntityFramework: using tables in different scemas 
Csharp :: sliding window algorithm in c# 
Csharp :: ms transform 
Csharp :: encode < for xml 
Csharp :: C# console out restore 
Csharp :: asp.net core reverse engineer database 
Csharp :: unity organize variables in inspector 
Csharp :: how to modigy login page asp.net core 
Csharp :: c# place all keys in dictionary into array 
Csharp :: create circumference with nettopologysuite 
Csharp :: getcomponent 
Csharp :: unity wheelcollider antiroll 
Csharp :: ilist validation wpf mvvm 
Csharp :: c# how to start an application and detect if started 
Csharp :: c# xaml textblock new line 
Csharp :: asp.net list find 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =