Quantcast
Channel: All Revit API Forum posts
Browsing all 66667 articles
Browse latest View live

Re: Drawing Sheet Automation

Interesting, I will to looking into this further.  Would there be a way of running several scripts concurrently (ie multi threading) to speed up the process for very large drawing sets. 

View Article


Re: Drawing Sheet Automation

Nope, not really. The Revit API is single threaded only. Non-Revit-API functionality can be multi-threaded, but the actual sheet creation requires Revit API calls and therefore cannot.    

View Article


Re: How to change Parameters with Shortcut

Yes, a macro could be used to address this. A macro can obviously fulfil all three requires steps on a pre-selected element: read parameter value, increment or decrement an integer, and write parameter...

View Article

Image may be NSFW.
Clik here to view.

Can you access saved selections via revit api?

I don't like how Edit Selction dialog won't let you delete multiple "saved selections" in one go and I wanted to create a custom dialog that would, but can't find a way to access saved selections via...

View Article

Filtering Geometry based On CAD Layers

I need to filter the geometry in my cad file based on the layer (layer name).I have tried previous examples in which GeometryObject had the property of GraphicStyleId. But the name of the GraphicStyle...

View Article


Re: Can you access saved selections via revit api?

ok, claude AI has done it: https://0x0.st/8KYO.bin looks like it's called "SelectionFilterElement"just as I was about to give up...

View Article

Re: Filtering Geometry based On CAD Layers

There is not even a material associated to the geometries so that they can be filtered

View Article

Re: How to open/close workset in a linked revit programmatically

Same problem. Looks like the only way of doing this is to open ALL the models from the beginning. No other way until now.Thanks for replying

View Article


Auto Join and lock walls

Is Auto Join and lock walls a new feature released in Revit 2025 also to be a method in the 2025 Revit API? if it is nto already?

View Article


Re: Can you access saved selections via revit api?

Thank you Daniel for a very nice interesting item and good research. I was previously not aware of the SelectionFilterElement. The sample code in the method documentation is interesting as well....

View Article

Re: Auto Join and lock walls

Hmm. I see an IFC AutoJoin property in the API, but that is for a different use case:  https://www.revitapidocs.com/2015/abf3e142-3f21-9161-e799-7a6b6e3c30b0.htm  You can set the join type at each end...

View Article

Re: Filtering Geometry based On CAD Layers

I asked Gemini for you, as I described in the blog, and it replies:   Let's dive into filtering CAD geometry by layer in Revit 2025. You're right, relying on GraphicStyleId alone won't work directly...

View Article

Re: WebView2 throws System.Runtime.InteropServices.COMException: 'The...

Thank you for sharing this interesting challenge and solution. I added it to the blog and hope it helps others as well:...

View Article


Image may be NSFW.
Clik here to view.

Re: Revit 2025 Toposolid vs Topography - Link Topography Accuracy

Exactly, even in revit 2025 it's worse...   Screenshot of surface in C3D:   Result in Revit 2025.4  The Surface also looks fine in ACC after publishing from Civil 3D. So the issue is really a Revit...

View Article

Collect Eleemnts that are NOT inside any room

I have a very huge model with hundreds of rooms. I want to collect elements that DO NOT belong to (or inside) any room. I have tried extracting room solids and check with each element using...

View Article


Re: Collect Eleemnts that are NOT inside any room

Good question. Yes, easy to solve, but tricky to optimise. Also, the answer will always depend on the model, and detailed properties on the elements. Also, what exact elements are you interested in? If...

View Article

Re: Can you access saved selections via revit api?

thank you Jeremy, please see a demo below - I believe it's useful because I couldn't delete multiple saved selections in the default revit dialog in one go, which was slowing me down when creating 8-10...

View Article


Re: Collect Eleemnts that are NOT inside any room

Dear @jeremy_tammik Thanks for the quick response..! I wish to ask a couple of questions. In my case, I am not targeting only FamilyInstances. It could be, well, any 3d element. Including system...

View Article

Re: how to connect conduits in one conduitrun

hi, could you please re-upload the script with the solution implemented? can't get my head around how to implement it.

View Article

Re: Can you access saved selections via revit api?

by the way I'm still working on a collection of such helper scripts, hopefully will finish writing documentation soon...

View Article
Browsing all 66667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>