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

Re: Update Dockable Panel Content from External Event?

Hi Bob, thanks for your detailed answer! I've followed your logic it works very well and did exactly what I intended to deal with. I'm new to WPF and Modaless Dialogue, your code samples help me a lot...

View Article


Re: Update Dockable Panel Content from External Event?

Hi Ken, thanks for your samples! They are powerful and easy-to-use workflows comparing to the native Revit API. I'm reading them to digest as much as I can to gain a better general understanding of the...

View Article


Re: is there a way to check if single or multiple sheet(s) printing and/or expor

another question, hope it's the last one?how to get the file name to be printed/exported within printing/exporting event? PrintManager.PrintToFileName won't work, i need to put this file name on...

View Article

Image may be NSFW.
Clik here to view.

Re: Update Dockable Panel Content from External Event?

Well, for a better understanding of how ExternalEvent works or maybe how Revit handlers all the external stuff(IExternalCommand, IExternalEventHandler...), I drew a diagram to show an abstract view of...

View Article

Re: is there a way to check if single or multiple sheet(s) printing and/or expor

looks like exporting event has Path available so only printing event has this issue, may be workaround?

View Article


Re: is there a way to check if single or multiple sheet(s) printing and/or expor

to be more specific and clear: i need printed (i.e. PDF) file name in printing eventfor exporting event, i can get exported (i.e. DWF) file name in args.Pathfor printing event, no args.Path available,...

View Article

Can I get plane from Reference, if the references are REFERENCE_TYPE_SURFACE?

Hi All, I am new in Revit api. What I am trying to do is identify the outermost reference of a family instance. I have already obtained all weak reference plane from a family instance, but I want to...

View Article

Re: Can I get plane from Reference, if the references are REFERENCE_TYPE_SURFACE

Plane? Do you mean Face? If that's what you want, you can get it. Face face = document.GetElement(reference).GetGeometryObjectFromReference(reference) as Face; 

View Article


Re: Can I get plane from Reference, if the references are REFERENCE_TYPE_SURFACE

Thanks! Yes, this exactly what I want. But I script by python, seems that I cannot use the GeometryObject type directly. I need to convert it to face first.

View Article


Re: Highlight 100,000 nodes(XYZ coordinates) at once in Revit

https://github.com/jeremytammik/RevitSdkSamples/tree/master/SDK/Samples/PointCloudEngine/CS. Above link really helped us understand how PointCloudEngine works, and we were able to make our own custom...

View Article

To build an API to search keyword in notes of Revit file

I want to build an API to Revit to highlight some of keywords in Revit file, especially the words in general notes.  Is it possible to highlight (or change to red colour) the keywords instead of whole...

View Article

Re: Traging cure is not visible in DYNAMO

Thank you for your response!Actually That error occurred by I'm not click show connector option in view tool.Now its working  Thank you!

View Article

Re: PrismLibrary and Unity containers examples

I have little knowledge about PrismLibrary and Unity containers, so I did some quick reading of the github repos. For the PrismLibrary, I noticed this library provides the ability to create loosely...

View Article


Image may be NSFW.
Clik here to view.

Managed Debugging Assistant 'FatalExecutionEngineError'

I get the following error, when I'm trying to debug revit add-in using visual studio:

View Article

Re: To build an API to search keyword in notes of Revit file

Impossible to answer without knowing what textbox you are referring to. If it is your add-ins own textbox, you can indeed control the text font and colour. If it is part of the built-in Revit...

View Article


Re: Run Script on Document Startup

IExternalApplication.OnStartup: https://www.revitapidocs.com/2020/f9f68666-4d80-b5a6-858c-735e289dc407.htm Surely, you discovered this by yourself in the meantime, didn't you? Maybe, search first...

View Article

Re: Семейства

You ask: Families -- Is there a large base with families of metal structures that will be displayed in all specifications of the ADSK mk template? Answer:  Unfortunately, this is not the best place to...

View Article


Re: Managed Debugging Assistant 'FatalExecutionEngineError'

Hi  ,Try using the steps mentioned in the below linkshttps://forums.autodesk.com/t5/revit-api-forum/revit-crashes-on-debug-mode/td-p/9086798...

View Article

Re: To build an API to search keyword in notes of Revit file

Hi Jeremy, I think the user means the TextNote elements etc. Rudi

View Article

Re: To build an API to search keyword in notes of Revit file

Hi Rudi, I think the user should state precisely what is meant right away when asking the original question. 🙂 Cheers, Jeremy 

View Article
Browsing all 66916 articles
Browse latest View live


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