Create DockablePane - Revit API

  Рет қаралды 876

ricaun

ricaun

Күн бұрын

Пікірлер: 11
@juliopolo7216
@juliopolo7216 4 ай бұрын
Great stuff
@jangohemmes352
@jangohemmes352 9 ай бұрын
Thank you, great resource
@ricaun
@ricaun 9 ай бұрын
Thanks, man. I appreciate it!
@MingchenXing
@MingchenXing 2 ай бұрын
Hello, I attempted to dynamically add a panel so that I don't need to register it when Revit starts. I have obtained the Visual Tree for Revit, specifically the DockManager used by Revit from AvalonDock. It works if I add a LayoutAnchorable with the content being a TextBlock or other basic WPF controls. However, if I set the content to a customized Window, Page, etc., Revit crashes. Do you konw the reson or have some advice?
@ricaun
@ricaun 2 ай бұрын
Interesting, usually is a bad idea to mess with the Revit UI like that. Why you need to dynamic add a dockable pane? Do you have some sample code with a simple implementation, I have a ideia how is done but never tried to implement. The only way to know what is wrong is enabling debug in your Revit to check what exception is happening.
@MingchenXing
@MingchenXing 2 ай бұрын
@@ricaun I have replied with a link to the code. But it seems that link is not allowd or have you seen it?
@ricaun
@ricaun 2 ай бұрын
I believe link is not allowed to prevent span, you could send to ricaun@gmail.com or reach me in the Instagram @ricaun.io I did some experiments using some methods in the MainWindow class in Revit. Works to create a dockable on the fly but have a lot of limitations.
@MingchenXing
@MingchenXing 2 ай бұрын
Thanks a lot. I have tried it again and it works if I set the content of Dockablepanel as a UserControl. Now I don't need to regist er it.
@ricaun
@ricaun 2 ай бұрын
Nice! The only problem is the location of the dockable is no saved correctly, at least I was not able to make Revit remember the location.
@andid9502
@andid9502 4 ай бұрын
Just by curiosity, how can i "map" my property window to this "dock able" panel? f.e. I select a door i want only to filter a certain Parameters (f.e. reed contact related)? I can imagine that you can not answer that in a one liner... but do have a ruff idea? or maybe examples.
@ricaun
@ricaun 4 ай бұрын
Using WPF binding I guess, I would start with a basic window that is easier to work, dockable could be annoying to work. Add some events in Revit to update a ViewModel that is binded in a Page, and adding some Revit ExternalEvent to something in the WPF to update Revit.
Advanced DockablePane - Revit API
9:02
ricaun
Рет қаралды 314
FamilyLoader - Generate Images - Revit API
34:43
ricaun
Рет қаралды 434
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 38 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 83 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 97 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 108 МЛН
Font Geometry to use with DirectContext3D - Revit API
56:26
The Right Way To Return API Errors in .NET
10:40
Nick Chapsas
Рет қаралды 41 М.
ricaun.AppLoader - English
3:31
ricaun
Рет қаралды 3 М.
RevitLookup - End of DLL hell - Revit API
8:40
ricaun
Рет қаралды 1,1 М.
Revit API : Adding WPF
6:50
Jacobian Dev
Рет қаралды 6 М.
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,1 МЛН
06 - Revit API - Family Manager Plugin - Dockable Pane, Revit and WPF
35:57
Wpf Fluent UI with Revit 2025 - Revit API
8:00
ricaun
Рет қаралды 639
A Combat Robot Weapon that NEVER STOPS SPINNING
14:30
Maker's Muse
Рет қаралды 223 М.
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 38 МЛН