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

Re: Create Space in given Phase

Hi Anatoly,Per investigation, the phase of created space by Document.NewSpace(Level, Phase, UV) was determined by phase of view to which the space belongs, the given phase may not take effect if it’s...

View Article


Re: Create or modify a rendering asset?

Any solution Harry??? Looks like resounding silence.

View Article


Debug Warning

HI, I'm starting to leearn Revit API and while making the first pluging and building the solution the build succeeded but with a warning 1>C:\Program Files...

View Article

Re: How to change phase of space

Unfortunetly no. Because the Rooms and Spaces are "Phase Specific" so for each Phase you have to place its own Rooms and Spaces.

View Article

Re: Get CenteLinesCurves from rebar

Dear pipiyeduI completed your code to accomplish the mission. Good luck.using System;using System.Collections.Generic;using System.Linq;using System.Text;using Autodesk.Revit.DB;using...

View Article


Image may be NSFW.
Clik here to view.

Re: Debug Warning

Just adjust the debug setting in your Visual Studio project.Go to BUILD settings and change the Platform target from "Any CPU" to "x64". 

View Article

Re: Update value parameter System Type from api

If you have the System Typr Id then you can use the Pipe.SetSystemType Method.

View Article

Crash happens when loading access database in my revit addin

Hi everyone,I'm a senior student, and currently doing my graduation design using Revit. I wrote an addin to load data from Access .mdb file, and do some calculation and drawing after that.My program...

View Article


Image may be NSFW.
Clik here to view.

Re: plan view

Your walls may be hidden by mistake in this plan so on the View Control Bar, click (Reveal Hidden Elements).All hidden elements display in color, and visible elements display in half-tone. So if your...

View Article


Re: Get CenteLinesCurves from rebar

Thank you! I´ll try it!

View Article

Python with c#

I am trying to use SKlearn in python on revit, I wrote an add-in in C# that will trigger python script and get the result back to C#.  Currently, my computer has anaconda installed.  My question is,...

View Article

How to run the add-in program with out Not responding?

Hi Community I am writing a add-in that auto join the wall floor roof etc. in the project. When i run the program everythings is fine, however i want to track the progress of it. So i write a windows...

View Article

Re: File path issue when exporting multiple DWFs

Can you explain in more details? (please supply part of your code that causes the problem).

View Article


Re: How to run the add-in program with out Not responding?

Jeremy has an article on his blog explaining how this can be done. http://thebuildingcoder.typepad.com/blog/2013/01/implement-a-progress-bar-and-abort-a-lengthy-process.html

View Article

Re: plan view

Are all views set to the same phase as the walls?

View Article


Getting the default value of a parameter?

I need to detect if a parameter value has been changed from the default value.Previously I did this by checking the default value of that parameter when such an element was added to the document via an...

View Article

Re: Visual Studio 2015 Update 2 and debugging Revit API addins

You can just add a little  expression "Enumerable.Range(0, 100).Select(i => (float)i / 10).ToArray()" to "watch" for checking lambda debugger works or not.But yes,I think there's some capability...

View Article


Re: Getting the default value of a parameter?

Shouldn't the familySymbol parameter values be the defaults?

View Article

Re: Crash happens when loading access database in my revit addin

Maybe check that the file is being loaded from a trusted location?https://support.office.com/en-us/article/Create-remove-or-change-a-trusted-location-for-your-files-f5151879-25ea-4998-80a5-4208b3540a62

View Article

Re: Crash happens when loading access database in my revit addin

Thanks for answering! But I don't think that's the problem. I wrote a console application to read the same access mdb file in the same place, and it worked just fine. It doesn't seem like a prolem with...

View Article
Browsing all 66664 articles
Browse latest View live


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