Message 1 of 6
Not applicable
10-26-2020
11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi y'all!
Let's say that the user has a Revit Document open in my Application, but he/she has named it incorrectly (or better said, not accordingly to our internal naming convention).
Now, I'm creating a plugin that generates the correct name and path from some user inputs (through a UI) and I want to change the name of the Document on the fly, to the generated name.
I tried with this:
string generatedName = GenerateName();
uiApp.ActiveUIDocument.Document.Title = generatedName;but then I found out that the property Title doesn't have a get accessor, hence I can't do the above.
What would be the best way to achieve this?
Thanks!
Solved! Go to Solution.