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

Revit 2023: Getting normal/origin of FamilyInstance StrongReference...

I'm trying to determine the origin and normal of a FamilyInstance which has a family with a plane with "Strong Reference". The purpose is to place another familyInstance in such a way that it lies...

View Article


Re: Can't find usings when upgrading to .NET8

Net 8 does not have System.Drawing.dll  in the base configuration, add the Nuget package. Condition will help to avoid double-referencing net 4.8 <ItemGroup><PackageReference...

View Article


Re: Can't find usings when upgrading to .NET8

Hi @LPow  Kindly follow the below steps, 1. Got to the csproj and the below PackageReference. <ItemGroup><FrameworkReference Include="Microsoft.WindowsDesktop.App"/></ItemGroup>  2....

View Article

Re: C# How to select bar of Rebar

Thank you very much!You misunderstood my point.I don't want the user to pick the bar object in the rebar; instead, I want to use code to select that object.

View Article

Data in extensible storage schema is cleared after upgrading model to Revit 2025

Hello everyone, I encountered an issue where the data stored in the extensible storage schema disappeared after upgrading a model from Revit 2024 to Revit 2025. More specifically, only extensible...

View Article


Re: C# How to select bar of Rebar

Hi @huynguyen96str     You have to use FilteredElementCollector. Kindly check the below code snippet for additional reference   public void FilterRebarAndSetSelection(UIDocument uidoc) { // Get the...

View Article

How to get BondingBoxXYZ of entire model?

Hello,I try to get a BoundnigBoxXYZ contains all elements in document.I know that i can loop over all elements and get the minimum and the maximum points, but my question is if there is any simpler way...

View Article

Re: How to get BondingBoxXYZ of entire model?

Hi @EyalRELJT    There is no direct faster method to get complete bounding box of the model. I face the same issue for that I have implemented an workaround to increase the speed of calculation, Kindly...

View Article


Image may be NSFW.
Clik here to view.

Re: Leader line auto move to center tag

I don't think it relate to my code, when I using tool of Revit, it still happen. I created a tag, then move it higher and it happen like image.(view in My Videos) 

View Article


Re: Leader line auto move to center tag

If you observe the same behaviour in the manual end user interface, it might be more efficient to discuss this from the UI point of view in the much larger and more product related architectural forum....

View Article

Re: Data in extensible storage schema is cleared after upgrading model to...

That sounds unexpected. Can you provide a complete minimal reproducible case? For this issue, it sounds as if a sample RVT saved in Revit 2024 will suffice....

View Article

Re: Data in extensible storage schema is cleared after upgrading model to...

If the model contsains two schemata with same GUID but different fields, one of them will be deleted when upgrading to 2025. For instance, one in model and other one on a loaded family. To test if...

View Article

Re: Get BendRadius center of Cable Tray Fittings

Thanks to all for the interesting discussion and nice solution! Shared on the blog for posterity:  https://thebuildingcoder.typepad.com/blog/2024/09/mep-cable-tray-bend-and-tee-analysis-1.html#2  

View Article


Re: Revit Tpiece geometric analysis

Thank you for the confirmation! Shared on the blog for posterity:  https://thebuildingcoder.typepad.com/blog/2024/09/mep-cable-tray-bend-and-tee-analysis-1.html#3  

View Article

Re: arc intersection failed

HI @phantbinh99       Your question is very interesting, I have done some workaround your question, The first point is I have created a Circle using two arc manually and tested its Intersection...

View Article


Re: Get BendRadius center of Cable Tray Fittings

Thank you @jeremy_tammik  for posting thread in blog 🙂 and Special thanks to @SONA-ARCHITECTURE  & @Moustafa_K 

View Article

Re: How to get BondingBoxXYZ of entire model?

Here are two useful ideas for this:...

View Article


Image may be NSFW.
Clik here to view.

Re: Can't find usings when upgrading to .NET8

So you're saying it IS the right thing to do? It is NOT available via NuGet? 

View Article

Re: Can't find usings when upgrading to .NET8

Hi @LPow   Suggestion which I was provided is from the Autodesk Team, Kindly check the below link for complete step by step upgradation process.<ItemGroup><FrameworkReference...

View Article

Re: Can't find usings when upgrading to .NET8

I think you're missing my question.I HAVE already upgraded...I'm asking if the way I've done it is the correct way as it seems a bit strange.

View Article
Browsing all 67020 articles
Browse latest View live


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