01 - Revit API - Plugin Essentials - First steps, basic plugin setup

  Рет қаралды 41,310

Marko Koljancic

Marko Koljancic

Күн бұрын

This video is first in series that will guide you from basics to some advanced Revit plugin development techniques. Video covers project setup in Visual Studio, and reference to Revit API and how to create ribbon tab, ribbon panel, push button and command attached to button. No fancy resource management, just raw implementation of tasks listed above. Stay tuned for more.
Series playlist: • 01 - Revit API - Plugi...
LinkedIn article on subject:
/ 01-revit-api-plugin-es...
Project repository can found at link bellow.
bitbucket.org/...
Trello roadmap:
trello.com/b/J...

Пікірлер: 34
@lucnguyen5829
@lucnguyen5829 5 жыл бұрын
Thank you, I found this for a long time to see.
@MarkoKoljancic
@MarkoKoljancic 5 жыл бұрын
My pleasure.
@hpssskkk
@hpssskkk 4 жыл бұрын
Start learning Revit API. Very usefull tutorial. Thank you
@searcher66
@searcher66 Жыл бұрын
is there no voice on these series?
@antondrygin4617
@antondrygin4617 23 күн бұрын
Hello. I want to read this material, but the video has no sound or subtitles. Can you help me fix this problem?
@kerolos1000
@kerolos1000 3 жыл бұрын
Sound isnot working.i cannot hear any thing
@quockhanhvu3009
@quockhanhvu3009 8 ай бұрын
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"
@MyIndia1
@MyIndia1 2 жыл бұрын
9:32 how to open this Revit API guide.. please help me
@rahulmandave8017
@rahulmandave8017 10 ай бұрын
Thank you, I did my first code... Can you please help how to debug code step by step?
@ananthprabu479
@ananthprabu479 3 жыл бұрын
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
@sonaarchitecture6173
@sonaarchitecture6173 2 жыл бұрын
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.
@CesarCADfull
@CesarCADfull Жыл бұрын
Hello Marko, thank you for your Videos. I have a questionis, is possible to change the parameters of a Workset using C# API?
@nasimnaji9405
@nasimnaji9405 4 жыл бұрын
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
@MarkoKoljancic
@MarkoKoljancic 4 жыл бұрын
Thanks for kind words Nasim Naji. Can you share your code on my email so I can take a look. marko.koljancic@gmail.com
@arkplato2186
@arkplato2186 2 жыл бұрын
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.
@suneilnevgi8386
@suneilnevgi8386 4 жыл бұрын
is there any facility to create our own buttons & menus inside Revit ? pl guide
@TheGivers
@TheGivers 5 жыл бұрын
Hi, I also followed and doesn't seem to load into Revit. No error on the build.
@MarkoKoljancic
@MarkoKoljancic 5 жыл бұрын
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.
@tjugolapp
@tjugolapp 4 жыл бұрын
''Revit cannot run external application ''...'' please contact proider..'' error, any solutions?
@tjugolapp
@tjugolapp 4 жыл бұрын
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..
@MarkoKoljancic
@MarkoKoljancic 4 жыл бұрын
@@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. ;)
@tjugolapp
@tjugolapp 4 жыл бұрын
@@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.
@tjugolapp
@tjugolapp 4 жыл бұрын
@@MarkoKoljancic ive solved it! I used the images from your blog! Not sure why mine wouldnt work tho.. Anyways amazing tutorial! Thanks! :)
@sneffetsd
@sneffetsd 5 жыл бұрын
I folloed and The app don't load on revit.
@MarkoKoljancic
@MarkoKoljancic 5 жыл бұрын
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/
@马特Matt
@马特Matt 4 жыл бұрын
no voice?
@MarkoKoljancic
@MarkoKoljancic 4 жыл бұрын
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.
@马特Matt
@马特Matt 4 жыл бұрын
@@MarkoKoljancic thank you very much!
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 40 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,6 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 56 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 638 М.
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 1 МЛН
Create a REVIT Plugin from SCRATCH using C#
31:57
ProArchitect
Рет қаралды 11 М.
Writing C# in VS Code Is Finally Awesome!
7:48
Nick Chapsas
Рет қаралды 172 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 40 МЛН