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 ArticleRe: Create or modify a rendering asset?
Any solution Harry??? Looks like resounding silence.
View ArticleDebug 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Update value parameter System Type from api
If you have the System Typr Id then you can use the Pipe.SetSystemType Method.
View ArticleCrash 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 ArticleRe: 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 ArticlePython 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 ArticleHow 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 ArticleRe: File path issue when exporting multiple DWFs
Can you explain in more details? (please supply part of your code that causes the problem).
View ArticleRe: 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 ArticleGetting 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 ArticleRe: 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 ArticleRe: Getting the default value of a parameter?
Shouldn't the familySymbol parameter values be the defaults?
View ArticleRe: 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 ArticleRe: 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