Created
December 13, 2017 12:54
-
-
Save josinSbazin/3d76e02952e2818863a58b243f7f5775 to your computer and use it in GitHub Desktop.
VB Revit HelloWorld
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
Imports Autodesk.Revit.Attributes | |
Imports Autodesk.Revit.DB | |
Imports Autodesk.Revit.UI | |
Namespace Command | |
<Transaction(TransactionMode.Manual)> | |
<Regeneration(RegenerationOption.Manual)> | |
Public Class HelloWorldCommand | |
Implements IExternalCommand | |
Public Function Execute( | |
commandData As ExternalCommandData, | |
ByRef message As String, | |
elements As ElementSet) As Result Implements IExternalCommand.Execute | |
TaskDialog.Show("Hello World!", "Hello World!") | |
Return Result.Succeeded | |
End Function | |
End Class | |
End NameSpace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment