Skip to main content

Questions tagged [revit-api]

Revit's API allows users to create customizations of the Autodesk Revit environment with tools that can greatly enhance end users' capabilities. The program is built around Microsoft's .NET Framework.

-1 votes
0 answers
8 views

How to get active object of revit application in windows application

I have to craete revit application for ifc export but withou creating pluddin or addin.I have to craete deskstop application . how can i do this? do not open revit how can run in windows application ,...
Archana sapkal's user avatar
0 votes
0 answers
16 views

Revit to NWC and NWD

I am trying to export revit model to NWC model and I have successfully done it. But only the thing now I am trying it further to convert nwc model into nwd model. For this I am applying the logic like ...
ShankB's user avatar
  • 1
-1 votes
0 answers
15 views

Create Multi excel Table for Each Worksheet by C#

hope be well. I have multiple quantity take-off and each quantity has a specific worksheet. I faced error when I wanted to create the table for them The error was "Table name invalid" the ...
NIA BIM's user avatar
1 vote
0 answers
47 views

Why would a parameter I just programmatically created be read-only?

I'm programmatically creating a shared parameter via the Revit API. I am specifying a GUID and doing this as part of an add-in I am maintaining. I have recently revamped the parameter code, and that's ...
Broam's user avatar
  • 4,640
2 votes
1 answer
53 views

Design Automation for Revit; reduce time of WorkItem process

I prepared Design Automation application that exports set of views to DWG files. WorkItem contains json file that has a list of standard views to export, but to extend application I need to show user ...
SergeySSH's user avatar
0 votes
1 answer
30 views

Migrating addin to Rvt2025 - WPF raises exception

I have successfully migrate my addin fron .NET Framework to .NET Core, except for WPF windows. Every command that opens a WPF window raises an Exception "could not load file or assembly" on ...
anthip's user avatar
  • 111
0 votes
1 answer
34 views

Call a method in a bundle on Design Automation

The code to be included in the package and uploaded to DesignAutomation: private void HandleDesignAutomationReadyEvent(object sender, DesignAutomationReadyEventArgs e) { if (...) // The flag I'm ...
Oleh's user avatar
  • 1
0 votes
0 answers
19 views

How to check the View Templets item in the UI of TransferProjectStandards via user32.dll

in Revit i am trying to select the checkbox next to 'View Templates' in a ListBox of the TransferProjectStandards Dialog. I was able to implement the 'Check None' functionality, but I couldn't figure ...
Hans101's user avatar
0 votes
1 answer
35 views

Design Automation for Revit; file size error during upload to the bucket

During Design Automation for Revit WorkItem process, Revit model and all links should be upload to the Application bucket, it works well when I am testing lightweight Revit files (about 10Mb each), ...
SergeySSH's user avatar
0 votes
1 answer
49 views

How to Use PyRevit CLI to Run Python Scripts Without Opening Revit?

I'm currently working on automating some tasks using PyRevit CLI and the Revit API. My goal is to run Python scripts without actually opening the Revit GUI. Specifically, I've written a simple script ...
INNA's user avatar
  • 51
1 vote
2 answers
47 views

Unable to execute script. Reports there's no open Revit Project

I'm creating a python script to run in the RevitPythonShell 2024.0.0.0 add-in for Revit which will look for duplicate Family/Type names of elements housed in differing Revit Worksets, perform a ...
Neil Wakeman's user avatar
1 vote
1 answer
42 views

How to isolate specific categories in a View?

I would like to create a view that only contains the elements of few given categories, I'm not sure what is the best way to achieve this. Examples I found are not really illustrating what I'm trying ...
Felipe's user avatar
  • 4,355
0 votes
0 answers
11 views

Issue with Application Visualization in Revit

I developed an application using C# based on Revit. When I run the application from Visual Studio, it works perfectly. However, when I run the app from Revit, all the functionalities work except for ...
ahmed's user avatar
  • 11
0 votes
1 answer
28 views

Can't unsubscribe from an event in Revit

I'm trying to set up the UI to automatically clear elements when I subscribe to an event DialogBoxShowing. I can't unsubscribe from it and the replacement of user actions continues even when the code ...
Mi-liali's user avatar
0 votes
1 answer
60 views

Modifying linked IFC in Revit using C#

I'm working on an automation project in Visual Studio using C#, but I still have limited experience and lack a lot of knowledge. revit errorThe script manage to download the IFC file and reload it ...
DaniMU's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
71