Questions tagged [revit]

Revit is a BIM (Building Information Modeling) software tool used by architects, engineers, etc.

Revit is a BIM (Building Information Modeling) software tool for Windows OS used by architects, engineers, etc. It was created by Revit Technologies Inc. and then purchased by Autodesk Inc. in 2002. It has a .NET API that can be used to interact with the UI as well as the underlying objects inside of project and family files.

Resources

The Building Coder

529 questions
0
votes
1 answer

Register events

I'm trying to register the DialogBoxShowing event of the UIControlledApplication. But I cannot use the OnStartup / OnShutdown implementation of the IExternalApplication interface. The best I could come up with is... public delegate void…
topofsteel
  • 1,267
  • 6
  • 16
  • 25
0
votes
2 answers

open wpf window in Revit as add ins

I made a project using WPF and I want to open its window in Revit I trying windows form it worked but wpf not opened !! I use this public virtual Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { …
kartal
  • 17,436
  • 34
  • 100
  • 145
-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

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
2 answers

Getting null when loading or creating new family instances

I've been having issues with the following snippet of code when working with my addin: doc.LoadFamilySymbol(@"[filepath here]", "[filename here]", out FamilySymbol symbol); doc.Create.NewFamilyInstance(mid, symbol, d, GetLevelInformation(d),…
Paxy
  • 1
  • 5
-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

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

Revit: TaskDialog inside EventHandler

I'm trying to repeat following Autodesk Example: http://help.autodesk.com/view/RVT/2016/ENU/?guid=GUID-CEF0F9C9-046E-46E2-9535-3B9620D8A170 I am getting a complete crash of revit when i start the addin. In debugging mode visual studio point this…
Pavel
  • 1
-1
votes
1 answer

Why my Revit view are blank?

We are working on a project using workset. Recently we start to find our views blank when we start our Revit project, we need to zoom all to see the view content. It was not like that befor a new member come to our team. The same thing start…
uakam
  • 27
  • 6
-1
votes
1 answer

Line up CAD model and point cloud in Revit

So, I am working with Revit, where I want to match a CAD model (.dwg) and the actual point cloud. So far I was only able to add both of them, but they do have different scaling. Can anything be done in Revit in order to line them up?
-1
votes
1 answer

Revit API Class Opening Infomation

can we add new parameters to the opening class in Revit? not for the shaft opening but for the others opening: Rectangular Straight Wall Opening Floor Opening cut Roof Opening Cut can we change the opening class family name or add parameter to the…
Jason Kee
  • 1
  • 1
-1
votes
1 answer

Revit Macro Manager C# Error

I am trying to create a macro using c# in revit. I am getting 3 errors. i) The name 'WallSection' does not exist in the current context (CS0103) ii) The name 'WallLayerDimensions' does not exist in the current context (CS0103) iii) Then name…
kulkul
  • 1
1 2 3
35
36