Have been meaning to dive in to XAML & WPF lately so the timing of these tutorials has been perfect :)
@giulianogonzales61694 жыл бұрын
I feel like I learn more about good practices, shortcuts and other inner workings about python from Ehsan the Architect, then I do from other professional sources. Thank you so much!
@pyRevit4 жыл бұрын
Haha thank you
@张森-i9m Жыл бұрын
when I save the WPF project file as part of the github repo, my VS code and VS studio will fight for version control and often make my git commit fail. But I see you are saving that WPF projects to the pyrevit extension folder, how did you avoid git conflict?
@georgeneverland896 Жыл бұрын
I want to modify a gui with a magenta checkbox inside... How can I override this property and reverse it to a standard one?
@gtbuzz864 жыл бұрын
Thanks for the videos! Where did you get the shortcut icons for the various versions of Revit?
@pyRevit4 жыл бұрын
I made them :)
@dungnguyenthanh63902 жыл бұрын
Hi EhSan! why I define method inside the Class Form. I must "seft.Close()" before using "uidoc.Selection.PickObject(ObjectType.Element)". If I not close Form should be can not pick object?
@tariqshah2767 Жыл бұрын
is there anyway to make the window dockable?
@dungnguyenthanh63904 жыл бұрын
Hi EhSan! if i using IDE run ironpython outside Revit. Can I clone pyrevit and using as module to load "XAML" file? Thanks
@pyRevit4 жыл бұрын
No pyRevit can only run inside of a running Revit instance
@mohamedanany3832 Жыл бұрын
I got problem if you have an idea, now I wrote the same code but if I try to run code ,the white empty window appear even I added buttons or texts!!
@rflash_w Жыл бұрын
let me take a wild guess, you its double dashes for init, you might missed one
@petarppenchev5 жыл бұрын
What are the sources that you use to develop your knowledge about XAML and WPF? You mentioned that it was hard in the beginning but now we can see that you are pretty experienced, so what you will suggest as a natural extension to your great tutorials?
@pyRevit5 жыл бұрын
I took a XAML course on Linda.com a couple of years back and the rest is KZbin and stackoverflow.
@jasonle2154 жыл бұрын
Thanks for the tutorial. This helps me a lot in creating GUI for my scripts. I'm just wondering if pyrevit and ironpython support tkinter, and if yes is guideline to import tkinter module into revit? I've used tkinter before with python but not for revit API, and tkinter seems to be a very efficient tool to create GUI but I can't seem to import the tkinter module to run my script in revit. Thanks for your help.
@pyRevit4 жыл бұрын
I have not tested tkinter to be honest. I don't actually think it would work with IronPython but I'm not sure
@andyzhou29734 жыл бұрын
Well done, very helpful!!
@redditcamp5434 жыл бұрын
Can you show how to use ListBox with multiple columns?
@pyRevit4 жыл бұрын
Take a look at the pyRevit extension window: github.com/eirannejad/pyRevit/blob/4899065ad215e9adc1b1229bb1a51b62bd1c3baf/extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/Extensions.smartbutton/ExtensionsWindow.xaml#L127
@dungnguyenthanh63904 жыл бұрын
Great!
@DClearEE5 жыл бұрын
The one thing I that would make this perfect is how to send information back to the WPF window from the python file. Say if you selected an element and you wanted to display it's information on the GUI in a label or something..
@pyRevit5 жыл бұрын
The next video (session 11) is all about this stuff. We will dive into creating more complex WPF components and data reactivity. Stay tuned.
@amritbanerjee5 жыл бұрын
@@pyRevit Love your dedication... Thankyou
@shibujoseukken5 жыл бұрын
Can it use in Dynamo
@pyRevit5 жыл бұрын
I haven't tested but you should be able to
@shibujoseukken5 жыл бұрын
@@pyRevit can you please advise how can link xam inl to dynamo