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

Create "solid" and find all elements within

Hey everyone, I've been searching for a while, but struggle to find an approach to the solution. I try to create a 3-dimensional "solid" (sorry for the bad english) and find all elements that are...

View Article


Create reference line in detail family

Hi, I've attached a test project.  As I understand it, to create a reference line from the api, a model curve is created and then this is changed to a reference.But if I attempt to create a model curve...

View Article


Re: Units of BuiltInParameter.RBS_ELEC_APPARENT_LOAD_PHASE1?

I am not sure you can always make engineering sense out of the "value" that returns when reading a parameter that represents a builtinunit. This is one of those cases. That is why you have to resort to...

View Article

Elements disappear after closing the form

Hello Revit gurus, I am new to C# programming and for the past 2 days I couldn't find the solution for my problem. I have created an External addin that add tags to family instances based on its...

View Article

Re: highlight and tag linked elements

Dear Jeremy, +1 on this request. Not sure how much a vote would affect it's priority. I really look forward to possibility of tagging elements in linked file from within host file.  Impact on your...

View Article


Custom Edit Mode

Dear all, Like you'd know, Revit offers various Edit modes, which basically allows user to edit a specific set of (sub)entities while freezing everything else. A handy way to deliver clear ui to the...

View Article

Re: Advice on debugging C# in Visual Studio

I assume you can run your code from VS, and you have it set up to start revit, and all that works. I don't think debug works, probably because revit has to start before the code can run.  I think you...

View Article

Re: Advice on debugging C# in Visual Studio

My best advice is to learn the differences between getting a program to run with VS, and the sharp develop. do all your troubleshooting in sharp develop ( no starting and constantly restarting revit),...

View Article


Re: Create "solid" and find all elements within

Hey again,I'm still on the topic and just wanted to post my progress:I managed to create a new family via GUI that is based on the template "Metric Generic Model face based.rft" that looks close to...

View Article


Re: Create "solid" and find all elements within

Don't panic this is pretty simple to get Faces from a Solid of a geometry, try the following code: #region Namespaces using System; using System.Linq; using System.Xml; using System.Reflection; using...

View Article

Image may be NSFW.
Clik here to view.

Re: Advice on debugging C# in Visual Studio

In Visual Studio enable the "Used Managed Compatibility Mode" option from Tools menu -> Options -> Debugging Please don't forget to mark this reply as an answer if it satisfies your needs.

View Article

Re: Custom Edit Mode

Please explain more and give a sample example for what families you want to edit.

View Article

Re: Elements disappear after closing the form

HI again guys,I am still stuck in this and I can't figure out what I am doing wrong. I am pretty sure it is something silly I am missing and I really need your help to figure it out.CheersNayer

View Article


Re: Elements disappear after closing the form

Please provide sample RVT file and the VS solution so I may help.

View Article

Re: Units of BuiltInParameter.RBS_ELEC_APPARENT_LOAD_PHASE1?

All the units in Revit are calculated related to Feet. So in your case to convert the unit "Volt" you have to divide it by 0.3048 and to conver the unit "Amp" you have to divide it again by 0.3048 so...

View Article


Re: Elements disappear after closing the form

Thank you so much Mustafa. I have attached the rvt test file and a .rar file that contains VS solution. Can't wait for your feedback.

View Article

Re: Advice on debugging C# in Visual Studio

OK, I found the answer to this, I have to build my solution then start Revit, once Revit is running I click Debug > Attach to process. This then allows me to set break points and debug my code. I'm...

View Article


Looking for programmer

Looking for ambitious part-time / flexible time programmer of Revit API plugins to work on a project basis on development of exciting programs for architects. The candidate shall have experience with...

View Article

Image may be NSFW.
Clik here to view.

Re: RegisterDockablePane from Eventhandler

Dear Ryuji, Sorry for the late reply, i had  a small vacation.Many Thanks for your reply, it makes the code a lot clearer and easies to understand, unfortunately i still get an error i cant solve....

View Article

Re: How to generate x and y-axes of rooms in the Revit API (in Millimetre)

Dear Bilal, Thank you for your appreciation. I summarised, cleaned up and published our conversation on The Building Coder:...

View Article
Browsing all 66667 articles
Browse latest View live


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