Created
December 13, 2017 13:00
-
-
Save josinSbazin/77b71f533e192837b78a129961def47f to your computer and use it in GitHub Desktop.
F# Revit Hello World
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
namespace Command2 | |
open Autodesk.Revit.UI | |
open Autodesk.Revit.Attributes | |
open System.Windows.Forms | |
[<Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)>] | |
type Command2() = | |
class | |
interface IExternalCommand with | |
member this.Execute(commandData, message : string byref, elements) = | |
MessageBox.Show("Hello World") |> ignore | |
Result.Succeeded | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment