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

Re: Revit api 2017.1?

I heard from Autodesk that there will be a new SDK posted to ADN soon for 2017.1.

View Article


Re: Unexplained "Strongly-Named Assembly Required" Error In Revit Add-

I'm currently having this issues and none of the solutions I have attempted have worked. How did you use ILMerge to create the embedded solution for you? Did you use the command line or did you use a...

View Article


Face vs. Surface Types - BRep Builder

 Hi, Looking at the documentation for the type Autodesk.Revit.DB.Surface I see the following remark: Remarks:This geometric object is not bounded by edges or edge loops. A bounded surface obtained from...

View Article

Image may be NSFW.
Clik here to view.

Re: 3D geomerty for export

Can you define more precisely what you want for output?  All four screenshots show mesh models, which are useful in many scenarios but not all.  You reference "clean geometry for export"  Do you mean...

View Article

search all elements containing sepecific string i.e. ABC

i'm trying to write utility tool to search all elements, pretty much everything, which contain specific string, mostly will be name, i.e. material name, type name, parameter name, etc.including...

View Article


Re: db link error

Sounds like you are a user of add-on, which I believe for subscription user?  If so, I would suggest posting this question to the product forum.  This is programming forum:...

View Article

Re: Set Shared Parameter value does nothing

I've found the problem.Unfortunately it was the result of the lot of trying and commenting in-out, and at some point the problem was solved while creating a totally new one. In some part of the...

View Article

Split Face using API

How to split a face of a Wall (given the curve or points to define /bound the area) using api Just like the Split Face tool in revit 

View Article


Re: Revit 2017 Add-In Executing a Custom External Command

Hi zach.bester, there may be another approach for invoking commands, using Reflection. using System; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using System.Reflection; namespace MyNamespace {...

View Article


Re: Call another plugin

Hi, there may be another way to do so, see my comment in this thread:http://forums.autodesk.com/t5/revit-api-forum/revit-2017-add-in-executing-a-custom-external-command/td-p/6604832  Revitalizer

View Article

Re: search all elements containing sepecific string i.e. ABC

HiI believe the best way is to loop through Builtin Parameter of the element. I have quickly written this code "Not Tested" but will deliver the idea.all I done  is 1- get a list of built in...

View Article

Re: search all elements containing sepecific string i.e. ABC

thanks mostafa90 for your quick reply, I did quick test, seems it's a bit slow, and only cover parameter side of element, I used the following code, seems working OK, but don't know if it's 100%...

View Article

Re: search all elements containing sepecific string i.e. ABC

foreach (Parameter p in e.Parameters)the above statement in your loop will call the parameters each time from the element and will not iterate to go through one by one. this will cause that some of...

View Article


Re: search all elements containing sepecific string i.e. ABC

I iterate all elements in Revit database so its related parameters will be covered.in your code, myelement is any one of elements in Revit databse or all elements?

View Article

Re: search all elements containing sepecific string i.e. ABC

myelement is referring to one of the elements in the project that you need to check. so it can be an item variable in a loop of elements. I am Glad that resolved the problem

View Article


Re: Setting the default ID of a system text using API

Dear Wilfredo Mayo, Yes, the Document.SetDefaultFamilyTypeId(...) requires one family type for second method parameter. Note that your code below has some problem on family type...

View Article

Re: Sweep using profile family

Although it takes no effect to directly set the FamilySymbolProfile.Profile property, you can try to get a parameter of BuiltinParameter.PROFILE_FAM_TYPE  from the sweep element and set the id of the...

View Article


Re: Revit render timing

http://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not-for/td-p/5607765

View Article

Get changes in IUpdater

Is there a way to actually get what is changed? We can get the elementids that are changed but i would like to see what is changed. A Parameter or maybe it is moved etc etc.

View Article

Re: Get changes in IUpdater

Hi Michal,There probably is, but the overhead would likely be prohibitive.Consider a transactional approach like the one in Jeremy Tammik's...

View Article
Browsing all 66683 articles
Browse latest View live


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