GUI Basics: First “Hello World” WPF Window

  Рет қаралды 15,134

pyRevit

pyRevit

Күн бұрын

Пікірлер: 31
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Holds up remarkably well, thanks Ehsan!
@kaizhu6382
@kaizhu6382 5 жыл бұрын
Have been meaning to dive in to XAML & WPF lately so the timing of these tutorials has been perfect :)
@giulianogonzales6169
@giulianogonzales6169 4 жыл бұрын
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!
@pyRevit
@pyRevit 4 жыл бұрын
Haha thank you
@张森-i9m
@张森-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
@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?
@gtbuzz86
@gtbuzz86 4 жыл бұрын
Thanks for the videos! Where did you get the shortcut icons for the various versions of Revit?
@pyRevit
@pyRevit 4 жыл бұрын
I made them :)
@dungnguyenthanh6390
@dungnguyenthanh6390 2 жыл бұрын
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
@tariqshah2767 Жыл бұрын
is there anyway to make the window dockable?
@dungnguyenthanh6390
@dungnguyenthanh6390 4 жыл бұрын
Hi EhSan! if i using IDE run ironpython outside Revit. Can I clone pyrevit and using as module to load "XAML" file? Thanks
@pyRevit
@pyRevit 4 жыл бұрын
No pyRevit can only run inside of a running Revit instance
@mohamedanany3832
@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
@rflash_w Жыл бұрын
let me take a wild guess, you its double dashes for init, you might missed one
@petarppenchev
@petarppenchev 5 жыл бұрын
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?
@pyRevit
@pyRevit 5 жыл бұрын
I took a XAML course on Linda.com a couple of years back and the rest is KZbin and stackoverflow.
@jasonle215
@jasonle215 4 жыл бұрын
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.
@pyRevit
@pyRevit 4 жыл бұрын
I have not tested tkinter to be honest. I don't actually think it would work with IronPython but I'm not sure
@andyzhou2973
@andyzhou2973 4 жыл бұрын
Well done, very helpful!!
@redditcamp543
@redditcamp543 4 жыл бұрын
Can you show how to use ListBox with multiple columns?
@pyRevit
@pyRevit 4 жыл бұрын
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
@dungnguyenthanh6390
@dungnguyenthanh6390 4 жыл бұрын
Great!
@DClearEE
@DClearEE 5 жыл бұрын
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..
@pyRevit
@pyRevit 5 жыл бұрын
The next video (session 11) is all about this stuff. We will dive into creating more complex WPF components and data reactivity. Stay tuned.
@amritbanerjee
@amritbanerjee 5 жыл бұрын
@@pyRevit Love your dedication... Thankyou
@shibujoseukken
@shibujoseukken 5 жыл бұрын
Can it use in Dynamo
@pyRevit
@pyRevit 5 жыл бұрын
I haven't tested but you should be able to
@shibujoseukken
@shibujoseukken 5 жыл бұрын
@@pyRevit can you please advise how can link xam inl to dynamo
GUI Basics: What is XAML
38:15
pyRevit
Рет қаралды 9 М.
GUI Basics: How does it really work?
43:26
pyRevit
Рет қаралды 9 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 11 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 16 МЛН
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 11 МЛН
pyRevit 4.7.6 & Routes Framework
39:38
pyRevit
Рет қаралды 10 М.
pyRevit - The Ultimate Guide (Live) w/Ehsan
1:08:21
TheRevitKid
Рет қаралды 56 М.
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 54 М.
How to Work With Office Applications in Iron Python
16:04
Sigma Coding
Рет қаралды 12 М.
Python for Revit: Basics of collecting data from Revit database
1:03:57
bonus session, tldw: my personal python best practices
44:50
How to pyRevit
1:19:31
Philadelphia Dynamo User Group
Рет қаралды 19 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Basics of Creating Elements in Revit Document Database
41:26
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 811 М.