Message 1 of 26
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone know when Revit 2025 will be released?
The exact date
Thanks 🙂
Solved! Go to Solution.
Does anyone know when Revit 2025 will be released?
The exact date
Thanks 🙂
Solved! Go to Solution.
Thanks 🙂
Have a good day/night.
@ankofl wrote:I asked this question because it seems strange to me that changing multiple text parameters in multiple families or any similar SIMPLE operations takes literally a 5-10 seconds. I thought that when switching to Net.8, they optimized some of the "hard" points in transaction commit. Unfortunately, I don't have access to Revit 2025 yet, so I wanted to ask @ricaun if he noticed a significant increase in transaction commit speed in any of the fragments of his code available to him, between the previous version of Revit and Revit2025
Thanks for the answers!
I don't know how many elements you are trying to change, but if you create one Transaction for each change this probably gonna make the whole process slower.
I did some tests just to show, the difference between creating 100 Transactions and committing each one (~1.6 seconds) and creating a single transaction with 10000 changes (~870ms). (I'm changing only one element the ProjectInformation in the document.)
The new version doesn't seem to have any improvement in the Transaction, it's an internal Revit C++ so probably nothing changed in there.
The ProjectInformation change is slower for some reason in Revit 2025 and Revit 2024.
Дорогой @ricaun!
Спасибо большое за проделанную вами огромную работу! Это дает мне комплексное представление об изменении скорости применения транзакций!
PS Конечно, я стараюсь применить все изменения в одной транзакции, это непропорционально быстрее, чем выполнение отдельного .Commit() для каждого изменения.
Конечно, бывают редкие случаи, когда в рамках одной желаемой транзакции необходимы данные, которые будут доступны только после завершения текущей транзакции (например, получение фактической геометрии, измененной в теле текущей транзакции), но вообще это очень редкие случаи.
Спасибо большое за проделанную работу!
Hi.
I can't figure out how to add windows form for my new macro which created through Visual Studio 2022. There is no Windows Form Class in Add Class dialog.
You need to edit the csproj and add the UseWindowsForms to enable Form or UseWPF to enable WPF.
<PropertyGroup>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
This gonna inject all the references into the project as well.