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

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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article


Re: Transforming of points

Hi @ricaun     Thanks for your suggestion let me try out this!!! :).

View Article


BIM360 / 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 Article

Image may be NSFW.
Clik here to view.

Purging 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 Article

Revit 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 Article

Re: 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 Article


Re: Reloading family symbol fails for the second time

@TripleM-Dev.net It is a family type, not a catalog

View Article

Re: 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 Article


Re: 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 Article

Re: 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 Article


Re: Reloading family symbol fails for the second time

That's a nice one will try at monday!

View Article

GetRuleParameter 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 Article

The 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
Browsing all 67020 articles
Browse latest View live


Latest Images

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