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

Re: How can I get the connectors of a FamilyInstance?

Thank you, Jeremy!!   This will certainly help me much in the future!

View Article


How can I check if a FamilyParameter is a BuiltInParameter?

I'd like to know if a given FamilyParameter is a system parameter that cannot be removed. How to do that?

View Article


Re: Enforce Revit to perform potable command before doing the rest of my code!

Hello Ibrahim,I do not know of a way to postpone a posted command, but have some other thoughts.   Have you seen the ElementTransformUtils.CopyElements() method?  If that will not suffice then,Chaining...

View Article

Re: Create new family from existing

Thank you. Calling SaveAs works , of course. And I will try to find out another solution

View Article

Re: How can I check if a FamilyParameter is a BuiltInParameter?

Thanks a lot for your feedback!

View Article


Different Coordinate System for ReferenceIntersector?

Dear all, Since a few days i facing a rather strange issue. ReferenceIntersector started returning off-the-chart values (Eg: Referring a floor that is at elevation of 22ft per ProjectBasePoint, it...

View Article

Re: Different Coordinate System for ReferenceIntersector?

I asked moderators if they can move this thread to the Revit API forum as I expect that you will have better chance to get answers to your questions.

View Article

Re: Different Coordinate System for ReferenceIntersector?

Oh i am so sorry. i thought i was posting it to Revit API forum.Thanks Louis. I can re-post it to API forum if moving is a lot of trouble.

View Article


Load Document in Revit API

Hi , I want to load one document into another document. I am using ("doc1.LoadFamily(doc2);")  loadfamily method to load the document2 in document1. After committing the transaction nothing got loaded....

View Article


Creating a new Project using a Revit API

How can I create a new Project(Architectural template) programmatically using Revit API.As per my understanding You at least need to create an empty project before adding\creating models in Revit. 

View Article

Re: Creating a new Project using a Revit API

Hi Alok, You can use Application.NewProjectDocument(). It takes template file path as an argument. Hope that helps. Best regards,Kinjal.

View Article

Re: Load Document in Revit API

Hi Vinoth, Did you debug it for exceptions (caution with empty catch blocks)? It is pretty straight forward function. Let us know more about it. By the way, Refer to the Exceptions section in the...

View Article

Re: Load Document in Revit API

Hi Kinjal, Thanks for your reply. But am not getting any exceptions while loading that document into target document. Thanks and Regards,Vinoth Kumar.R

View Article


Re: Load Document in Revit API

Hi, RevitAPI.chm says: "If you are reloading an edited family back into the source document from which it was extracted, this method will always fail. This is because this method automatically...

View Article

Re: Load Document in Revit API

Hi Revitalizer, Thanks for your valid reply. Am using family load options to load document in to source document [doc1.LoadFamily(doc2,new FamilyOption());]. After completion of transaction nothing got...

View Article


Re: Load Document in Revit API

Hi, some considerations: May it be that... ...you try to load one family into another family, and during this, you mistake source for target document ? ...your transaction has an IFailuresPreprocessor...

View Article

Exporting windows dimensions to a existing excel file.

​I'm an architect who has started learning coding a few months ago. I have been asking questions related to the subject matter in different places of the web. ​ I have decided that is the moment of...

View Article


Split Wall using Revit API

Hi,Hope you are doing great. I would like to ask you a question regarding splitting the wall. Question:I have a wall and have to split it using Revit API. I have placement points as an input and need...

View Article

How to create custom .BuiltInFailures handling method

Hello, I am working on a plugin that will import a number of drafting views from another project file. At first glance, what I am trying to achieve is very similar to the built in functionality of...

View Article

Re: Exporting windows dimensions to a existing excel file.

Family Symbols will give you all the types of windows in the project. If you want to get the instances you need to adjust your collector a little bit to collect the instances and not the types....

View Article
Browsing all 66660 articles
Browse latest View live


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