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

Associated family parameter

Hello In the API we have the call doc.FamilyManager.AssociateElementParameterToFamilyParameter(ep, fp)And if we want to disconnect uit we can use null value for the family parameter But is there a way...

View Article


Re: Support for BCF API

Brilliant!  This is awesome Jeremy! - Brian

View Article


Re: PLease help revit installation keeps failing and i dont know why

Install Autodesk Material Library 2016 - Low Image Library Failed Download Failed, Installation aborted, Result=1603I would recommend that you try downloading your product using the virtual assistant...

View Article

having trouble programmatically placing doors and windows in walls, via an addin

I am attemtping to programmatically place walls, and then place doors and windows in those walls.I am getting confused about how to generate a FamilySymbol for a door.  I am assuming that window...

View Article

Create Space in given Phase

Hello, How can I create new Space in any (another than "New Constraction") Phase? I tried Document.NewSpace Method (Level, Phase, UV), but Space is created in "New Constraction" phase. Thanks,Anatoly.

View Article


Re: having trouble programmatically placing doors and windows in walls, via an a

Are you familiar with the concept of the FilteredElementCollector?  

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

I was not, but I think I understand it's use now. the following code is what I have come up with so far, however it fails with a symbol not active. using System; using System.Collections.Generic;...

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

mind you a good but of the code in PrepareDoorFamilies was pulled from the demos of the api

View Article


Re: having trouble programmatically placing doors and windows in walls, via an a

Oh, how unfortunate and confusing!  Here's a quick way to get Ids of all door family symbols. using Autodesk.Revit.Attributes; using Autodesk.Revit.DB; using Autodesk.Revit.UI; namespace Revit.Examples...

View Article


Re: having trouble programmatically placing doors and windows in walls, via an a

but of course, after reading a little closer, you don't give a crap about family symbol Ids, and you need to keep from crashing with the symbol not active exception. using System.Linq; using...

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

thanks! this little project is my first real foray into C#, so it's been a bit rough, though I have been learning a lot! much appreciated!

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

I thought it might be and I despise those examples that obfuscate the use of the Revit API in unnecessary language constructs. I'm glad I could help and I hope things are a little clearer. Scour the...

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

though I do have one issuse with your solution: all doors are null! instead ofFamilySymbol doorSymbol = doorFamilySymbols.FirstOrDefault();I replaced it with FamilySymbol doorSymbol = null, window =...

View Article


Re: having trouble programmatically placing doors and windows in walls, via an a

Does your project have any door families loaded?

View Article

Re: having trouble programmatically placing doors and windows in walls, via an a

no I do not, how would I do so?

View Article


How can I add room parameters which are used by the IFC exporter?

I added some project information parameter- IfcProject GUID- IfcSite GUID- IfcBuilding GUIDBefore starting the IFC Export I convert the GUID values form an external data source to IfcGuid values and...

View Article

Re: Revit api materials and textures

Thanks Scott. I'll think about your suggestion to see if it can apply in our case. Dale

View Article


Re: Rename Shared Parameter

I am of the view that this is not possible given the way in which Revit overlaps the use of GUID and Parameter Name. Nevertheless, I hope that a particularly clever work around could be suggested. PS...

View Article

Subcategory problem when running from Document.EditFamily

Dear all I was trying to find all user defined subcategories in a family document and I noticed different behaviour in the .addin when I was running it from an already opened (active) family document...

View Article

Re: Subcategory problem when running from Document.EditFamily

The last assumption was incorrect. Adding an extra userdefined subcategory will still show a count of 0 when running it from Documen.EditFamily where the count will be 2 when running it from an active...

View Article
Browsing all 66666 articles
Browse latest View live


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