Message 1 of 6

Not applicable
07-17-2015
08:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
New to the Revit API so please excuse what is probably a very simple task.
How do I pass a variable from the current Revit session to a form. For example, if I wanted to pass the current Revit Version to a label that would show up in a form.
I can extract the version into a variable that I can display in a taskdialog:
string verNum = app.VersionNumber;
TaskDialog.Show("Version Number", verNum);
but I can't seem to pass the to a form
Solved! Go to Solution.