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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleTwo 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 ArticleHow 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Progress Dialog not always updating
David, Thanks - your suggestion worked well. Cheers,Kevin.
View ArticleRe: 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 ArticleHow 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 ArticleCannot 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 Articlejeremytammik: 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 ArticleRe: 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