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

Re: Combine BoundingBoxes

Thanks Jeremy, that worked great.

View Article


Image may be NSFW.
Clik here to view.

Re: Non-Hosted Family Hosted to a Floor

Please just make Place on Work Plane the default Placement option when a Family is Work Plane-Based.

View Article


Re: How can I set Dockable Dialogs width < 100?

Dear Rui Shen, Thank you for your query. I would assume that you can use the standard .NET functionality to achieve that, unless Revit is doing something to specifically prevent it. What have you tried...

View Article

Re: 2015 to 2016 grid line reference problem

In 2016 get the grid reference like this:Reference gridRef = null;Options opt = new Options();opt.ComputeReferences = true;opt.IncludeNonVisibleObjects = true;opt.View = doc.ActiveView;foreach...

View Article

Re: How to Revit 2016 api Create Dimension between Grid

In 2016, get the grid reference for dimensioning like thisReference gridRef = null;Options opt = new Options();opt.ComputeReferences = true;opt.IncludeNonVisibleObjects = true;opt.View =...

View Article


Re: Dimension Creation

In 2016, get the grid reference for dimension creation like this:Reference gridRef = null;Options opt = new Options();opt.ComputeReferences = true;opt.IncludeNonVisibleObjects = true;opt.View =...

View Article

Re: 2015 to 2016 grid line reference problem

Thank you it worked.

View Article

SharpDevelop Macro Editor Problem

I'm working on a few macros.  Twice now the editor has quit using changes to my code.   I mean I'll edit the code, and rebuild it, but when I run it, it runs the old code.  I can even intentionally...

View Article


Re: Disable TextBox (RibbonItem) in Zero Document State

Dear Atiefenbach, Thank you for your query. I really cannot say off-hand. Quite probably, the Revit API does not provide this functionality. If it does not, it might be possible to implement something...

View Article


Re: Create Revit Families from DWG entities

Dear Bruno, It appears that you imagine a certain similarity between Revit and AutoCAD. I am sorry to say that they are very different animals. Here are a couple of related discussions and...

View Article

Scripting to add objects to BIM

Hi, I am trying to build a generic script for updating cecrtain object and its parameters using a script to BIM. I'm just curious if its possible. Thanks

View Article

Re: Scripting to add objects to BIM

Yes, it is, easily. Here are links to the Revit API getting started material: http://thebuildingcoder.typepad.com/blog/about-the-author.html#2 Best regards, Jeremy

View Article

Re: Addin Wizard 2014

Have you downloaded the sdk of revit. Are you refering to the 2 revit dlls ?

View Article


Re: Creating Model Text

Hi Jeremy, you are right, there is such a method.Sadly, it is limited to Family context, as it says in the RevitAPI.chm:"Create a model text in the Autodesk Revit family document."For project files, my...

View Article

Image may be NSFW.
Clik here to view.

ViewSheet number

HiI tried to change a sheet number via APi through this code: Transaction t = new Transaction(m_doc, "Do it"); t.Start(); FilteredElementCollector sheets = new...

View Article


Image may be NSFW.
Clik here to view.

Re: Moving a grid?

Hi Jaime,thank you for the solution, sorry that it took me a few days to test.I've tested it now, and Im afraid it still doesnt solve my problem.Our grids are always straight and with a straight line I...

View Article

Re: SharpDevelop Macro Editor Problem

One of the modules started working again. i was testing some code that checks the current time and date.  To test the code, I would manually change the system date.  I think this may be why the macro...

View Article


Import of multiple files is slow

Hi I have created a Revit application that imports all dwg files in a folder. I import the dwg files in the way described in this post:...

View Article

Re: Creating Model Text

My original code shows that I was trying to create it in a family document.  I have since been able to accomplish this.  My task was to create some Model Text and then export to a DWG so I was able to...

View Article

Re: Disable TextBox (RibbonItem) in Zero Document State

jeremytammik wrote:For instance, if you have a push button that needs to react in the same manner as the text box, you might be able to use an availability class for the former and then add some kind...

View Article
Browsing all 66664 articles
Browse latest View live


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