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

Re: Switching Views and/or Posting Commands...

I'd certainly continue to look for a way to do this without PostCommand, but I posted a command ended monitor that may help if you're forced to go that way....

View Article


Dockable Panel using WinForms

Hello,Is it possible to use WinForms to create dockable windows?The documentation of DockablePaneProviderData says that System.Windows.Control.Page is recommended, but that is a WPF control.I have a...

View Article


Site Designer for Revit

Hi, I have na upgrade in the Desktop Application that list the Site Designer tool, but the instalation it's not working... I formatted my PC and reinstaled everything again, but still getting the same...

View Article

Re: Is there a before and after Synchronize event

yep and yep... see the Revit API help.They are DB (Database) events as opposed to UI (Application) eventsDocumentSynchronizedWithCentralDocumentSynchronizingWithCentral

View Article

Re: Switching Views and/or Posting Commands...

I had a hunch the RevitCommandEndedMonitor would work with the RequestViewChange() method as well and curiosity got the better of me.  Sure enough, it worked!    [Transaction(TransactionMode.Manual)]...

View Article


Re: Check out the self-paced guide “My First Plug-in”

The Link is dead,Long live the Link!

View Article

Create a Macro to enter an information

Hello guys, First of all, I have no experience with the Revit API. Here is my question: Is there any way that I can make a code to "force" the user, when one starts a project, to enter with a text and...

View Article

Re: Create a Macro to enter an information

Dear leu, Yes you can do this. Follow below steps: Step 1: Trace  Document  Opended Event . "   application.ControlledApplication.DocumentOpened += ControlledApplication_DocumentOpened;"Step 2: After...

View Article


Re: Switching Views and/or Posting Commands...

Bobby,It's probably going to be next week before I can get back on this but...If I'm reading this correctly (I struggle with C#, guess I'll have to learn it one of these days ;-) the idea is to create...

View Article


REVIT 2017 CRASHING ALL THE TIME - ON FILE OPEN

removed..

View Article

Re: REVIT 2017 CRASHING ALL THE TIME - ON FILE OPEN

**** wrong place to post how do i move this post to right place

View Article

Generating Rooms Adjacency Matrices (H_Tree & V_Tree) for the given Design?

Hi All, I want to generate the rooms adjacency matrix to capture the topology of all the rooms in the design. For this purpose, two matrices are to be created i.e., H_Tree and V_Tree. Each row in the...

View Article

Re: get conection type and geometry between two elements from the model

Hi,  What's your API problem to achieve your request?  Revit API provides geometry related API to retrieve solid, face, edges and vertexes of element...

View Article


Re: Remote Debugging Revit 2016 API with Visual Studio 2015

Hi, can you debug one common class library which is not Revit addin assembly? sounds this is not related to Revit API?

View Article

Re: Switching Views and/or Posting Commands...

Gary_J_Orr wrote:the idea is to create a sub that runs as an event reactor after the function returns to Revit and Revit runs the posted command...You nailed it, that's the exact idea that drove me to...

View Article


Retrieving rooms by Wall IDs

Hi All, I am just wondering if there exists an API function to get all the rooms by Wall Id (Wall Id specifically means Element Id). I mean that if multiple rooms share a wall, the function shall...

View Article

Re: Revit 2016 R2, R2 Update 1, R2 Update 2 - DWF Export API - Unrecoverable Err

I was finally able to get this working by setting the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Windows\USERPostMessageLimit" to 1,000,000 from the default value of...

View Article


Re: Retrieving rooms by Wall IDs

Dear Bilal, To extract information from element first need to understand relationship. Relationship between wall, door and Room Door Has Room(From Room and ToRoom)Door Has Wall (As Host Element).  Your...

View Article

Re: Elements modeled tolerance

is there any answer?

View Article

Re: Isolate elements on a newly created view

I have encountered the same problem, could you please let me know if you find a solution. I will respond in this forum if I find the solution. - cheers

View Article
Browsing all 66664 articles
Browse latest View live