Created
June 21, 2022 02:56
-
-
Save chuongmep/281e0249ebcbc3a9bec8611231fbad67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using Autodesk.Revit.Attributes; | |
using Autodesk.Revit.DB; | |
using Autodesk.Revit.UI; | |
using MessageBox = System.Windows.MessageBox; | |
namespace Test | |
{ | |
[Transaction(TransactionMode.Manual)] | |
public class Lab : IExternalCommand | |
{ | |
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) | |
{ | |
string tempPath = Path.GetTempPath(); | |
MessageBox.Show(tempPath); | |
return Result.Succeeded; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Revit 2020 or higher