Re: Reloading family symbol fails for the second time
The 'NLRS_C_content_versie' is a type parameter? You are using the LoadFamilySymbol to load a symbol in a existent Family. That's a good questing if the IFamilyLoadOptions should trigger with a...
View ArticleRe: Reloading family symbol fails for the second time
@ricaun Yes, the parameter is a type parameter.I try to reload it in a project. The IFamilyLoadOptions doesn't trigger.. i guess because the family is already in the project by the first action, but I...
View ArticleRe: Reloading family symbol fails for the second time
Hi @jw.vanasselt, I haven't looked into the full code, maybe a variable is re-used or something... But keep in mind filtering for a Symbol only using it's familyname and typename CAN return others if...
View ArticleRe: Reloading family symbol fails for the second time
From the documentation: LoadFamilySymbol :Return ValueTrue if the family type/symbol was loaded successfully into the project, otherwise False. -> So not sure what happens if the type values are...
View ArticleRe: Reloading family symbol fails for the second time
I'm doing some unit test to understand what is happening, and when loading the same family file the LoadFamily return false even if I change the parameters in the symbols. The LoadFamilySymbol return...
View ArticleRe: Reloading family symbol fails for the second time
And what if it's loaded from another location?The location a family is loaded from is available in the project, so that should update if loaded from another location....
View ArticleRe: Reloading family symbol fails for the second time
I tried to copy the file to a different folder and Revit is smart to know that is the same file, is not gonna reload a family that is already loaded.
View ArticleRe: Material: Use Render Appearance for Shading
Hello!khanh_phamWU8FK started the post with "used the API to update the color in the Appearance tab", that's just were I am looking for! It's easy to change all colors of the Material, but this is a...
View ArticleRe: Transforming of points
Hi @ricaun Thanks for your suggestion let me try out this!!! :).
View ArticleBIM360 / ACC tutorial and examples
Hello everyone, I am a newbie to BIM360/ACC APIs. Until now I used to work with Revit/Navis APIs only.I asked that same question in the BIM360 API forum - but 0 responses..I would like to develop a...
View ArticlePurging Unused Fabrication Services in Revit API
Hi everyone, I'm working on a Revit API project and am trying to purge unused fabrication services.I've encountered a challenge: Revit doesn't allow the unloading of unused services when their...
View ArticleRevit crashes while running plugin
Hi guys,I wrote a modelless form that creates an element by picking two points after clicking a button.It usually runs well, but sometimes it causes Revit to crash without throwing any exceptions.I...
View ArticleRe: Reloading family symbol fails for the second time
Thanks for building the test @ricaun !Well that's exactly the thing I need.I tried it manual with the same result. The only method I found is to rename the family with _old and reload the new one.Any...
View ArticleRe: Reloading family symbol fails for the second time
@TripleM-Dev.net It is a family type, not a catalog
View ArticleRe: BIM360 / ACC tutorial and examples
Hi, Sean Page shared I nice tutorial how to start with access the APS https://youtu.be/whQ9ZSxjtDc?si=Y0wjK3lVk24HU0c_ Yes, i guess you need to build 2 endpoints. As far as i know the request of acc...
View ArticleRe: Material: Use Render Appearance for Shading
found it at:https://static.au-uw2-prd.autodesk.com/Class_Handout_SD124625_New_API_to_Modify_Visual_Appearance_of_Materials_in_Revit_Boris_Shafiro.pdfThanks anyway!
View ArticleRe: Reloading family symbol fails for the second time
Is you rename you gonna need to find all the instances and replace with the new family, and could be some reference you could forget to swap. Another way would be to open the family changed something...
View ArticleRe: Reloading family symbol fails for the second time
That's a nice one will try at monday!
View ArticleGetRuleParameter Returns Valid ElementId, but doc.GetElement(id) is Null
I’m using rule.GetRuleParameter() (where rule is a FilterRule), and it returns a valid ElementId. However, when I try to retrieve the element using doc.GetElement(id), it always returns null. I’ve...
View ArticleThe crop of the associated view is not permitted to have a non-rectangular...
Hi everyone,I am trying to set a view's crop region shape by the code below,view.GetCropRegionShapeManager().SetCropShape(CurveLoop)When i run the addin in revit, it gives me "The crop of the...
View Article