Hello. I want to read this material, but the video has no sound or subtitles. Can you help me fix this problem?
@tulisan1041Ай бұрын
another "tutorial" with no voice - f*cking hell
@sneffetsd3 ай бұрын
Hi Marko, nice tutorial. How can I handle several Revit versions?
@evgeniydenisyuk86693 ай бұрын
Hi, thank you fir great tutorial. Could you be so kind to explain what does Fody do for us?
@quockhanhvu30098 ай бұрын
The code doesn't show any errors, but when I start it, there's an error message regarding the Main. What should I do now Error "CS5001 Program does not contain a static 'Main' method suitable for an entry point"
@kasamparavipul37198 ай бұрын
Hi Marko, I make mainwindow.xaml.cs in cbb.ui and Cog_Command make in cbb.core. I want the mainwindow wpf form show in Cog_Command. How I access in Cog_Command?
@fadiayoub49959 ай бұрын
Hello! Thanks a lot for your great content. Could you please share with me how to achieve the same functionality of the family manager presented in this video by getting the families directly from the active document instead of a folder? Thanks!
@rahulmandave801710 ай бұрын
Thank you, I did my first code... Can you please help how to debug code step by step?
@ytl868810 ай бұрын
Are you still working on bim projects
@RaphaelPinheiroDantas Жыл бұрын
you are awesome. seriusly.. congrats
@CesarCADfull Жыл бұрын
Hello Marko, thank you for your Videos. I have a questionis, is possible to change the parameters of a Workset using C# API?
@searcher66 Жыл бұрын
is there no voice on these series?
@julioojeda2283 Жыл бұрын
Great, this is open to the public? Is there any way we can store the families in the cloud? So we as a team can export/import
@MrBondarrr2 жыл бұрын
Is anyone alive? How can I disable backups of a regular locally stored file?
@sonaarchitecture61732 жыл бұрын
Hi @Marko Thx for sharing your code. How to acces ActiveUIDocument into your FamilyManagerDockPane? You do a registration when Application started, and make a dp.Show() on ExecuteCommand, but, when or how to pass the commanddata? Thx.
@sonaarchitecture61732 жыл бұрын
Hi @Marko Thx for sharing your code. How to acces ActiveUIDocument into your FamilyManagerDockPane? You do a registration when Application started, and make a dp.Show() on ExecuteCommand, but, when or how to pass the commanddata? Thx.
@zbyszekzbyszek57552 жыл бұрын
Hello, I've got a problem. I wanted Executable to put configuration files inside folders in Profram Files or Program Data. Unfortunately files placed there by executable cannot be edited. How to tell executable file not to block these files?
@MyIndia12 жыл бұрын
9:32 how to open this Revit API guide.. please help me
@arkplato21862 жыл бұрын
hello Marko, is there a way to select multiple elements from linked model of the same type though. Please shed some light on this, have been struggling for a very long time.
@ananthprabu4793 жыл бұрын
Really thank you from bottom of my heart, i was tried many times to create this basic plugin but I can't But now I was created my plugin with help of your tutorial, I can understand your coding although voice/subtitles not available Once again I am thanking you sir and this enthu is enough to deep learning in Revit background language
@ТимурАзизов-ц9д3 жыл бұрын
Hey! Thank You for incredible tutorials! These videos helped me a lot in understanding of a complexity of the process. Kepp doing great things and improve the community!
@luanbregunce3 жыл бұрын
Thank you for putting out these tutorials Marko, that's unbelievably good. It's very kind of you providing to us. I sincerely thank you.
@MarkoKoljancic3 жыл бұрын
Thank you, Luan. I am really glad to hear that you find these videos useful and informative. I will soon start recording more. :)
@kerolos10003 жыл бұрын
Sound isnot working.i cannot hear any thing
@aleenathammasorn90073 жыл бұрын
very useful thank you :)
@MarkoKoljancic3 жыл бұрын
You're welcome. ;)
@suneilnevgi83864 жыл бұрын
is there any facility to create our own buttons & menus inside Revit ? pl guide
@hpssskkk4 жыл бұрын
Start learning Revit API. Very usefull tutorial. Thank you
@damlad68044 жыл бұрын
Merhaba, lütfen bu revit ailesini paylaşır mısınız? [email protected]
@raphaelbert89954 жыл бұрын
Hello Marko, I love your tutorials, it help me a lot to understand the Revit API. On this one, I followed your video but I get an error in Visual Studio and when Revit open. In VS it says that : 'Main' does not implement interface member 'IExternalApplication.OnShutdown(UIControlledApplication)' So I have searched on the internet a solution and I have seen that this error occur when VS add this line of code : throw new NotImplementedException(); so to solve it, you need to delete it. But I can't find it in the code… Before public Result OnStartup(UIControlledApplication application) I have well : /// <exception cref="System.NotImplementedException"></exception> same for Onshutdown. Do you have any idea of where is the problem ? Thank you, :) Raphael
@irakliambokadze60454 жыл бұрын
Hi, thanks for a very good tutorial. I have a problem.. System.IO.FileNotFoundException: Could not find file 'C:\_blog\cbb es\tooltip\Toottip_Image_320x320.png' File name: 'C:\_blog\cbb es\tooltip\Toottip_Image_320x320.png' below is what I have written in my code: var TagWallLayersBtnData = new PushButtonData("TagWallLayersBtnData", "Tag Wall Layers", Assembly.GetExecutingAssembly().Location, "cbb.TagWallLayersCommand") { ToolTipImage = new BitmapImage(new Uri(@"C:\_blog\cbb es\tooltip_TagWallLayers_320x320.png")), ToolTip = "This is some sample tooltip text, replace it later..." I have tried with .png extension or without it as well. Revit keeps sending the error message.
@dmytrod90344 жыл бұрын
Hi, man. Thank you for those great videos. I have couple questions. Would be greatfull if you could answer: 1. If I am new to coding and I want to create somewhat similar to Wood Framing Wall external application for revit to cater to my own needs. What would be your advise what to start with to be most effective ?(I have gone through autodesk knowledge 7 basic lessons about revit api and now just following your lessons) 2. Regarding this video : How do you get those "ctor" to become public SetupInterface(){} ? And why my "///" command does not return anything other than ///<summary>/// <summary> ?? and last one : why do I always have warning about mismatch between "MSIL" and "RevitAPI", "AMD64". Thank you a lot.
@MarkoKoljancic4 жыл бұрын
Hi Dmytro. Personally I started learning C# and .NET framework in general. With that knowledge I started digging into Revit API as documentation basis to understand fundamentals of how it is designed to behave and what is possible to do overall. After that start with quick small plugins and gradually progress to more complex ones. ctor is a quick snippet to create constructor. Type ctor and press TAB on keyboard. For documenting code you can install GhostDoc, very handy plugin for Visual Studio. When you install it just type /// and it will automatically docent, class, function, property, interface, enum... Revit is 64 bit application so you should build same dlls. In build properties chose x64 or Any something, sorry forgot name of build presset. It should be fine. Btw chose also right .NET framework for your solution based on Revit version you are targeting. As an example chose .NET 4.8 for building Revit 2021 solutions. For other you can use 4.7.1 or 4.7.2 and you are good to go.
@MarkoKoljancic4 жыл бұрын
Also thank you for kind words. Hope you are going to find this videos/articles useful to get you going. Keep solution organized and gradually progress. Soon I will share link from my dear teamates that suibmited article for this years Autodesk University on subject of Revit API, modeless dialogs, WPF and external event mechanisms. They are experts in Revit API. ;)
@dmytrod90344 жыл бұрын
@@MarkoKoljancic Thank you again for such a comprehensive answer. And the link you are about to share will be of great help as well. Thank you kindly.
@nasimnaji94054 жыл бұрын
thank you so much for the video and the article, this playlist is a valuable learning resource when it comes to using WPF and Revit API
@MarkoKoljancic4 жыл бұрын
Thanks for kind words Nasim. Enjoy it, soon I will continue adding more videos. :)
@luong-hoela52474 жыл бұрын
have you got the chance to complete the script?
@MarkoKoljancic4 жыл бұрын
Hi Luong. Actually no. This was project that I start with purpose to learn DOPs in Houdini. I develop this script on Houdini 12 or 13. Years back, because of hard disk faillure I lost this scene. Should winish it one day. ;)
@jakoubichannel66764 жыл бұрын
Hi , please how can i apply my plug-in on my project and on a linked projet . ?
@jakoubichannel66764 жыл бұрын
In the same project
@MarkoKoljancic4 жыл бұрын
@@jakoubichannel6676 Hello Mohamed. Of course, use this code and apply on your projects. It is under use however you want license. ;)
@telliac19464 жыл бұрын
Hello Marko, Thanks a lot for your work and your sharing, I followed your tutorial. I managed to create my installer, however I have an error when i launch Revit. Cannot run the external application How to solve this problem ? I'm french please excuse the mistakes and clumsiness.
@MarkoKoljancic4 жыл бұрын
Hi Telliac, thanks for watching. I can help you if you provide me error message. Based on message I can dig into and find solution. Stay safe!
@telliac19464 жыл бұрын
@@MarkoKoljancic Thank you for your reply ! Ok, I'm sorry that was not clear, "Cannot run the external application" is my error message. The entire message is very lon and i can't put it there. Maybe we can contact eachother to look at this in more detail. Thx for your help !
@nasimnaji94054 жыл бұрын
thank you so much for the great tutorial, but I have a problem, it builds with no problems, and revit asks me whether I want to load in the plugin which makes me believe that the plugin is being recognized by revit. but the problem is no tab, ribbon or buttons show up inside of revit. thanks in advance. any help is greatly appreciated
@MarkoKoljancic4 жыл бұрын
Thanks for kind words Nasim Naji. Can you share your code on my email so I can take a look. [email protected]
@tjugolapp4 жыл бұрын
Again trouble with the images.. Revit says ”Property ’urisource’ or property ’StreamSource’ must be set. As far as i can see the the streamsource Is set.. Not sure How to solve it.. This tutorial is really great btw! I thought the first was great but guess there was more where that came from. Looking forward to the next one! :D
@luanbregunce3 жыл бұрын
Hey man, I was facing the same issue, I was beating my brain out to solve it, but then I realize that it was missing a . on the ResourceImage class, on the line where the variable stream is defined. It's "Image.Icons." instead of "Image.Icons", maybe it's the same error on your case. it's been a long time you've asked it, but it might help someone else.
@shibujoseukken4 жыл бұрын
without audio how can listen
@MarkoKoljancic4 жыл бұрын
No audio, but I heavily documented code and pushed it to Bitbucket repository in description. Also you can find LinkedIn article links in video description of almost all videos. Hope this helps.
@tjugolapp4 жыл бұрын
''Revit cannot run external application ''...'' please contact proider..'' error, any solutions?
@tjugolapp4 жыл бұрын
Does seem to imply that file path for the tooltip image cant be found although its were it should be.. // Create push button data and populate it with information. var TagWallLLayersBtnData = new PushButtonData("TagWallLLayerBtnData", "Tag Wall Layers", Assembly.GetExecutingAssembly().Location, "cbb.TagWallLayersCommand") { ToolTipImage = new BitmapImage(new Uri(@"C:\Users\musa_\Documents\cbb es\tooltip320x320")), ToolTip = "This is some sample tooltip text, replace it later...." }; var TagWallLLayersBtn = panelAnnotation.AddItem(TagWallLLayersBtnData) as PushButton; TagWallLLayersBtn.LargeImage = new BitmapImage(new Uri(@"C:\Users\musa_\Documents\cbb es\tooltip32x32")); return Result.Succeeded; } in Revit it says cant find C:\users\musa_\Documents\cbb es\tooltip32x32 If i add tooltip32x32".png" (IF thats the problem) it says the same thing..
@MarkoKoljancic4 жыл бұрын
@@tjugolapp Issue is that you are missing .png extension in file path. Try to change this lines: ToolTipImage = new BitmapImage(new Uri(@"C:\Users\musa_\Documents\cbb es\tooltip320x320.png")), TagWallLLayersBtn.LargeImage = new BitmapImage(new Uri(@"C:\Users\musa_\Documents\cbb es\tooltip32x32.png")); Notice that I added .png extension inside string. Tell if this helped. Stay good. ;)
@tjugolapp4 жыл бұрын
@@MarkoKoljancic thanks for quick reply really appriciate it! On the subject, iv'e tried to add ''.png'' but it still doesnt find it. it still refers to the "C:\Users\musa_\Documents\cbb es\tooltip320x320" in revit. Not sure if it matters but when i make an image through photoshop it dosent name it .png it just gives it a name without the .png.
@tjugolapp4 жыл бұрын
@@MarkoKoljancic ive solved it! I used the images from your blog! Not sure why mine wouldnt work tho.. Anyways amazing tutorial! Thanks! :)
@claudiocesar22944 жыл бұрын
Good afternoon. would you have these audio video lessons to download because in youtub I hear nothing. my email [email protected] thanks
@MarkoKoljancic4 жыл бұрын
Hi Claudio this series is recorded without audio. Code is heavily documented and I didn't skip any part of process. You can also find LinkedIn article in video description. I will try my best to record in future with voice over or even with subtitles. Hope this helps.
@claudiocesar22944 жыл бұрын
ok, thanks so much for the feedback.
@MarkoKoljancic4 жыл бұрын
@@claudiocesar2294 You're welcome.
@elevenbim4 жыл бұрын
Nice guy later you text me in whatsapp or telegram this number +5581999193122 I have a big work in brazil from creat API in scendules brazilian, ok
@马特Matt4 жыл бұрын
no voice?
@MarkoKoljancic4 жыл бұрын
No voice, but I heavily documented code and pushed it to Bitbucket repository. Also you can find LinkedIn article links in video description of almost all videos. Hope this helps.
@马特Matt4 жыл бұрын
@@MarkoKoljancic thank you very much!
@deepbule35174 жыл бұрын
These tutorials are really, really great... easy to follow ("how") and plenty of explanation for each step ("why"). Thanks for sharing Marko!
@MarkoKoljancic4 жыл бұрын
It is my pleasure. Thanks for kind words. :) More videos on the way. ;)
@yanren26585 жыл бұрын
hi can u share your family? Thank u!
@MarkoKoljancic5 жыл бұрын
After finishing series I'll upload final project. There will be public link with downloadable content. Just to catch some time to record series.
@william_785 жыл бұрын
Awesome!! Please, make more videos about Revit Plugins. You've won more one subscribe!
@MarkoKoljancic5 жыл бұрын
Thanks man, appreciate your subscription and nice comment. I'll make small detour to parametric family modeling and after that I plan to continue Revit API development series. I have ideas for new plugins. :)
@vlad_cher5 жыл бұрын
@@MarkoKoljancic your video very helpfull. And I have one little question: how do you support multiversions Revit (2017,2018,2019....etc)?
@TheNillesen5 жыл бұрын
hi dude, i followed your video and even doubble checked with your code in the bitbucket repo. I get an error when i open Revit it goes like this: System.InvalidOperationException System.InvalidOperationException : Proberty 'UriSource' or property 'StreamSource' must be set. at System.Windows.Media.Imaging.BitmapImage.EndInit() at cbb.res.ResourceImage.GetIcon(String name) at cbb.ui.RevitPushButton.Create(RevitPushButtonDataModel data) at cbb.SetupInterface.Initialize(UIControlledApplication app) at cbb.Main.OnStartup(UIControlledApplication application) my guess is that is has something to do with the images not being loaded correctly but i dont know what to do differently. hope you can help
@TheNillesen5 жыл бұрын
I got it to work by changing this code : //var stream = ResourceAssembly.GetAssembly().GetManifestResourceStream(ResourceAssembly.GetNamespace() + "Images.Icons." + name); with this code: //Assembly asm = Assembly.GetExecutingAssembly(); //Stream stream = asm.GetManifestResourceStream(asm.GetManifestResourceNames().First(o => o.Contains(name))); so is it because i didnt implement the WPF correctly?
@MarkoKoljancic5 жыл бұрын
@@TheNillesen Cool, you managed to fix it by yourself. Your code will work as I see. This error indicates that Revit has problem with finding image at plugin loading stage, nothing to do with wpf or implementation of dockable pane. Can you please check if your image has checked Embedded Resource option when you loaded it in resource assembly/.dll. My idea is to have all resources fonts, images,.. in one .dll so that plugin depends only on that assembly not on external files. Code should work it is pretty much straight forward. Thumbs up for your version. :)
@chriskrieps4 жыл бұрын
@@TheNillesen Thanks for posting, this worked for me as well! I tried Marko's tip for ensuring Embedded Resource is checked, but was still failing to load.
@lucnguyen58295 жыл бұрын
Thank you, I found this for a long time to see.
@MarkoKoljancic5 жыл бұрын
My pleasure.
@imammasduki76065 жыл бұрын
After debugging, i can't found this plugin in Revit ? i'm using revit 2019 and target framework 4.7 that i used. please suggest me. thanks in advance.
@dotaninbar66205 жыл бұрын
grate tutorials man! relay helpful Thanks allot.
@MarkoKoljancic5 жыл бұрын
Thanks. My pleasure.
@TheGivers5 жыл бұрын
Hi, I also followed and doesn't seem to load into Revit. No error on the build.
@MarkoKoljancic5 жыл бұрын
Than probably problem is in .addin file and location if threre is no compile errors. Check .addin file content bitbucket.org/cbb_team/circles-bim-blog/src/178689411b6c6ec88360115b2d810989bdd01ca5/addin/?at=master copy it and paste in appropriate folder that Revit watches for plugin registration. Tell me if works now. If not we'll find another solution.
@sneffetsd5 жыл бұрын
I folloed and The app don't load on revit.
@MarkoKoljancic5 жыл бұрын
Hello Deivid, should be a strait forward process. Is there some error that you can share here so I can take a look at it. Also check code repository to easier see if you made some typo. bitbucket.org/cbb_team/circles-bim-blog/src/master/