mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-25 12:25:30 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Revit.SDK.Samples.CreateViewSection.CS
|
||||
Transaction transaction = new Transaction(m_project.Document, "CreateSectionView");
|
||||
transaction.Start();
|
||||
//ViewSection section = m_project.Document.Create.NewViewSection(m_box);
|
||||
ElementId DetailViewId = new ElementId(-1);
|
||||
ElementId DetailViewId = ElementId.InvalidElementId;
|
||||
IList<Element> elems = new FilteredElementCollector(m_project.Document).OfClass(typeof(ViewFamilyType)).ToElements();
|
||||
foreach (Element e in elems)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user