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.

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

Resources:

Forums:

977 questions
-1
votes
1 answer

Design Automation for Revit (DA4R)

Is it possible to use dynamo scripts within Forge? I want a user to be able to create a dynamo script, upload this and execute the script on revit models in Forge.
-1
votes
1 answer

Program to draw line when y coordinates match or z coordinates

I am working on Ironpython in Revit application. This is the code below I was trying in python. Help would be appreciated. From the list of points, there is a first point and second point. I have created functions for them. The script should check…
-1
votes
2 answers

Revit api and .net 5

I wonder if it is possible to use .net5 to develop plugins for revit since the native platform for developing a plug-in for Revit is net47. A simple test case showing a message in 2 different ways, MessageBox from PresentationFramework and…
arn9000
  • 133
  • 1
  • 10
-1
votes
1 answer

Microsoft.ML porting away from .netcore to .net frameworks 4.7.2

After moving the working code for the githubticketclassifier, a decision tree using the microsoft.ml lightGbm decision tree trainer I had great results and made my own dataset. I then converted it to .net 4.7.2 frameworks in a console environment…
-1
votes
2 answers

How to get the name of the materials associated to the faces of Rooms in Revit

I want to write a Macro in Autodesk Revit for getting all the materials associated to the faces of my rooms and then write them as values for predefined Shared Parameters. Is there a way to achieve this with C#? Also I'd like to have the walls faces…
DavidMena
  • 19
  • 6
-1
votes
1 answer

Web Development with BIM 360 and Forge - Backend

Anybody recommend any backends or frameworks for Forge? I'm seeing resources for Nodejs, PHP, .Net Core and others which are for the backend. Are any of these any more convenient or dependable with Forge than the others? I also know Python and…
-1
votes
1 answer

Advanced Transfer Project Standards Functionality Using Revit API

I would like to create Revit plugin using Revit API for transferring project standards between multiple Revit projects. Is this possible using Revit API?
-1
votes
1 answer

Sort list A2 A4 A1 A3 to A1 A2 A3 A4

I have a list which contains items like A2 A4 A1 A3 B1 B3 B4 A5 B2. I would like to sort it into a list that looks like A1 A2 A3 A4 A5 and then B1 B2 B3 B4 etc.. I have build a script (ironpython) which could be a step in the right direction but I…
Wouter
  • 11
  • 3
-1
votes
1 answer

How to create Revit add-in and save data in external database?

I would like to create a Revit addon that loads some data from Revit model and assosiates them with user entry data. Is there a way to save this associations in the project for future use?Do I have to create a database that keeps these associations,…
eanton
  • 1
  • 1
-1
votes
1 answer

Cast .Net object to another .Net object in IronPython, Dynamo

the revit API IndependentTag.Create() method requires a Reference object as one of its inputs A Reference object is instantiated with a revit Element object I have bunch of revit Wall objects which inherit from the Element class in C# I can simply…
r.schmitt
  • 53
  • 1
  • 10
-1
votes
1 answer

Why a WPF window wont render correctly in Autodesk Revit 2019 as it does in Revit 2018

Summary This week i began working on our next iteration of one of our tools "Hanger Preparation" which is part of an addin toolset for Autodesk Revit built using WPF, MVVM, C#, Visual Studio 2017 and Telerik Controls for WPF. We decided to split…
-1
votes
1 answer

How to import 3D model into python GUI desktop software

Is there any way that I can import a 3D model(Revit Model) to a pyqt-programed GUI software by using some python third-package? I didn't find any solutions in how to import 3D model into PyQt's GUI software. I hope to import 3D model into a GUI…
bricker
  • 55
  • 12
-1
votes
1 answer

Using Revit API draw dimension from gridline to sleeve (Speciality equipment)

Source Code Using Revit API when we apply Dimension from Grid line to Sleeve (Specialty equipment) that time Revit returns an error message .from error message if i click "Cancel" option deletes the dimensions and if i click the "remove…
Ajay
  • 1
  • 2
-1
votes
2 answers

How can I read Revit Family Properties using Revit API before importing it into the Revit 2017.exe

I'm a software developer working at Architecture Design Firm (Archcorp.biz). Here we are developing custom plugins for Revit 2017 using Revit API. I'd like to know is this possible to read family type and instance properties before importing it into…
Ali Asad
  • 1,235
  • 1
  • 18
  • 33
-1
votes
1 answer

PREVIOUS SOLUTION no longer working

A few years ago, I was seeking a way to convert a list of elements into the current Selection (to use for "Copy To Level" or "Copy To Current View". My particular situation is post-program from a "Smart Filter" that allows the user to select…
1 2 3
64
65