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

External Command Causing revit to crash

HelloWorking on my first app that can really do something, when I was trying to activate the command in revit it gave me a massive exception and the whole of revit terminated. I grapped part of the Jrn...

View Article


Re: [HELP]Dynamo Preview, How does the Revit API work?

All that Dynamo does when you turn on that option is generate a preview in it's own engine. I don't believe it has anything connected to the Revit API.

View Article


Re: How to get Dimension from an Extrusion

I believe that is because the information you're looking for is not stored within the element of the extrution, but within the dimension itself. Have a look through OST_Dimensions and you may find the...

View Article

Re: Viewport error with linked project

Hi Thibaud,Linked documents are read-only.Perhaps that is the issue?If not, please provide more data.Cheers,-Matt

View Article

Change Referencing View For Multiple Callouts

Hi, I was wondering if there was any development on being able to change a callout's referencing view? For example if there were multiple callouts across a project referencing a view/sheet A-200, is...

View Article


Re: Drag and Drop from Explorer

Dear Michael, Thank you for your query, a follow-up to your previous one last week on the same topic, "launch-adding-when-file-is-dropped-in-revit":...

View Article

Re: External Command Causing revit to crash

I do not think anyone will be able to tell much from this info. If this is your first app, I would suggest ditching it and starting fresh from scratch with your second app. Follow best practices....

View Article

Re: select elements witch cut by the view

You can use a BoundingBoxIntersectsFilter. BoundingBoxIntersectsFilter CutPlaneFilter = new BoundingBoxIntersectsFilter(_outline);List<Element>  ElemsInCutPlane =   new...

View Article


Select all physical items in model

Hi All,  I am trying to select all the Model Element instances in my model. i.e. anything that is a physical object, so I can change the value of a certain Property on all of them. Property value will...

View Article


Re: Select all physical items in model

Your filter looks OK to me. Cf.: http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9 Cheers, Jeremy

View Article

Re: Revit Keynotes: Multi-leader Keynote Tag

Dear Dalton, In general, if a feature is not available in the Revit product manually through the user interface, then the Revit API will not provide it either. Can you implement what you are after...

View Article

Re: Select all physical items in model

When you  use a familyInstance filter , you only find User Created families, and not the system families. try: public static class Extensions{public static bool IsPhysicalElement(this Element e){if...

View Article

Re: Viewport error with linked project

Thank you for your help but still not working. What I tried last is to create a small project with few element. I tried my add-on and it worked as expected.So I created a second empty project and I...

View Article


Re: Viewport error with linked project

I just saw this error in the list of every parameters : Outline = 'new...

View Article

Re: How to get Dimension from an Extrusion

Basically you want to change the profile of the Sketch , done manually by [ Edit Extrusion]  correct? If it's your own family, why don't you build it right, with a labelled dimension for the length you...

View Article


Re: Find RevitLinks is Loaded or UnLoaded

Hi Matt, Why apologies and all. Forgive me If my words hurt you. I will check through that static method. Thanks for the reply. Thanks and Regards,Vinoth Kumar.R

View Article

Re: Find RevitLinks is Loaded or UnLoaded

I found this Utility, maybe it gives the results you require RevitLinkUIUtils.ReportLinkLoadResults()  

View Article


Re: Find RevitLinks is Loaded or UnLoaded

No, no problem! I don't think so, but I'm happy to be enlightened!

View Article

Re: Viewport error with linked project

Hi Thibaud, To help further, I would need more code.If you don't show what your objects are initialised as, or what your personal functions do, the code you posted actually makes little sense....

View Article

Re: Select all physical items in model

I'd probably use .WhereElementIsViewIndependent in there somewhere also. Faster than some of the iteration/LINQ methods.

View Article
Browsing all 66855 articles
Browse latest View live


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