Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@josinSbazin
Created December 13, 2017 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josinSbazin/3d76e02952e2818863a58b243f7f5775 to your computer and use it in GitHub Desktop.
Save josinSbazin/3d76e02952e2818863a58b243f7f5775 to your computer and use it in GitHub Desktop.
VB Revit HelloWorld
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