Skip to content

Instantly share code, notes, and snippets.

@chuongmep
Last active June 27, 2020 03:53
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 chuongmep/884859bb35f458e1b21929b2af2ce7ce to your computer and use it in GitHub Desktop.
Save chuongmep/884859bb35f458e1b21929b2af2ce7ce to your computer and use it in GitHub Desktop.
namespace FsharpDemo
open Autodesk.Revit.Attributes
open Autodesk.Revit.UI
[<TransactionAttribute(TransactionMode.Manual)>]
type ASimpleMessage() =
interface IExternalCommand with
member x.Execute(cdata, msg, elset) =
TaskDialog.Show("Title", "Hello World") |> ignore
Result.Succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment