-
Notifications
You must be signed in to change notification settings - Fork 0
/
CommandGetCompoundMaterials.cs
39 lines (30 loc) · 1.07 KB
/
CommandGetCompoundMaterials.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.Attributes;
namespace TestWorks
{
[Transaction(TransactionMode.Manual)]
public class CommandGetCompoundMaterials : IExternalCommand
{
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
UIApplication uiapp = commandData.Application;
UIDocument uidoc = uiapp.ActiveUIDocument;
Application app = uiapp.Application;
Document doc = uidoc.Document;
#region GET MATERIAL ISSUES
//SampleGetMaterial sampleGetMaterial = new SampleGetMaterial();
//sampleGetMaterial.GetWallLayerMaterial(doc, wall);
//SampleParameters_Type typeParameter = new SampleParameters_Type();
//typeParameter.SetTypeParameter(doc);
#endregion
return Result.Succeeded;
}
}
}