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

Re: Progress Dialog not always updating

Hi Kevin, Yes, you have to look after the Scope of the variables. I guess if I was approaching this, I'd split the 'processing code' into a separate class, which I'd instantiate from the progress...

View Article


Re: How to set the "Design Heating Load" of the SpatialElement?

Hi, I think you are looking at two different kinds of spaces. In the UI, I believe you are seeing a Space object, http://www.revitapidocs.com/2017.1/b2c8970e-e554-8d73-06db-b65712c8a2e5.htmbut in the...

View Article


Re: changing value of cost parameter in all wall element in my project

Hi Both Keynote and Cost are Type parameters, so I think you will need to set those parameters on the WallTypes, not on the Walls themselves. HTH David

View Article

Re: browsing model files in the cloud (A360 C4R)

Wow big topic a simple related question i hope,  I not knowing much with this Cloud,Anyone know what to check if this file is C4R versus local file? is simply file extension or a document...

View Article

Re: best way to establish a Revit to Unity bim-centric pipeline (forge vs revit-

I am going to try issuing some FORGE calls via the RESTAPI interface from UNITY. Luckly this is possible.  My first test will be simple.1. Upload a revit file via FORGE using a simple web interface2....

View Article


Image may be NSFW.
Clik here to view.

Two addins installed at the same - error

Hello,I have two addins for Revit, each one working properly.When I have two addins installed at the same time revit returns the following message. 

View Article

How to add shared parameter to schedule

does anyone can help me, how to add a shared parameter to schedule? Thanks so much. I can add builtin parameter to schedule but shared parameter can not. Thanks so much!

View Article

Re: Two addins installed at the same - error

You can try to solve your problem in this link https://knowledge.autodesk.com/support/revit-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Collaboration-for-Revit-2015-6-breaks-other-add-ins.html

View Article


Image may be NSFW.
Clik here to view.

Re: changing value of cost parameter in all wall element in my project

Hi thanks for your solution but i still have problem i repair as your solution foreach (Element e in new FilteredElementCollector(doc).OfClass(typeof(WallType))){Parameter cost =...

View Article


Re: Two addins installed at the same - error

Both these add-ins I wrote myself, they probably use the same libraries or namespaces, but I don' t have any idea of ​​what it might be.

View Article

Re: Two addins installed at the same - error

I had the same global namespaces in both projects. I've changed the global namespace and everything works fine :)

View Article

Re: changing value of cost parameter in all wall element in my project

Hi, So that error message is saying that on line 54, you have a variable that should be set to reference an object, but it is set to null (i.e. 'nothing') I would put a breakpoint in at line 54, and...

View Article

Re: How to add shared parameter to schedule

Hi, How are you adding your builtin parameters to the schedule? You could include a code snippet? Does the first post here help:...

View Article


Image may be NSFW.
Clik here to view.

Re: changing value of cost parameter in all wall element in my project

this is the main code foreach (Element e in new FilteredElementCollector(doc).OfClass(typeof(WallType)))                {                ElementType elem = doc.GetElement(e.GetTypeId()) as ElementType;...

View Article

Re: Progress Dialog not always updating

David, Thanks - your suggestion worked well. Cheers,Kevin.

View Article


Re: browsing model files in the cloud (A360 C4R)

There's an internal property IsModelInCloud on the Document object in the Revit API that you can access using reflection: public static bool GetIsModelInCloud(Document document) { PropertyInfo p =...

View Article

How to invoke "Compare Models" tool in the Extension with Revit API?

There are a "Compare Models" tool  extension in Revit 2016, but it can only be used by manual.   Who know if exist  any API to invoke for batching processing automatically?

View Article


Cannot get Shared parameters in DocumentCreatedEvent

Why in the DocumentCreated event inside, whether it is filtering SharedParameterElement, or traversing the FamilyType can not get the shared parameters,but in IExternalCommand can get the shared...

View Article

Image may be NSFW.
Clik here to view.

jeremytammik: How to Creating Dimensioning Referencing Family Instance Origin ?

How to Creating Dimensioning Referencing Family Instance Origin ?  I see your blog: This article is very useful!...

View Article

Image may be NSFW.
Clik here to view.

Re: jeremytammik: How to Creating Dimensioning Referencing Family Instance Origi

 This  familyInstance is linked by Pipe,  so  no Point.  The  familyInstance  (Sprinkler)  is not link pipe,    it   has  POINT.

View Article
Browsing all 67020 articles
Browse latest View live


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