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

IFC geometry - Space Boundaries

Can anyone recommend an appropriate forum for asking questions about Industry Foundation Class geometry? I am parsing IFC and interpreting the geometry, focussing on space boundaries.(IFCRELSPACEBOUNDARY) All the space boundaries associated with a…
0
votes
0 answers

Convert Revit Model into JSON for three.js

Has anybody/does anybody know of a way of a way to use php, in particular json_encode() to convert a Autodesk Revit file into JSON for three.js: https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3 .. Or the new Model format 4. I know this…
Rizzo
  • 403
  • 1
  • 6
  • 13
0
votes
1 answer

How to obtain a sheet number for a View with the Revit API

I would like to access the sheet number of a "View view," with the Revit API. I have tried to search for the parameter belonging to a view however it is not listed as a parameter by intellisense. I can see in a document or project that it is a read…
0
votes
1 answer

Dynamically add command after IExternalApplication.OnStartup to the Revit Ribbon?

Is it possible to dynamically add commands after IExternalApplication.OnStartup has executed to Revit's Ribbon Panel? I came across this post on…
Muers
  • 3,190
  • 3
  • 26
  • 32
0
votes
1 answer

Using Dreampie with Revit

I'm new to using python on Autodesk Revit. My favorite prompt for using python is a little app called Dreampie. It works with python and ironPython. http://www.dreampie.org/ I was wondering if there is a way to connect this application to Revit…
Ehsan Iran-Nejad
  • 1,697
  • 1
  • 15
  • 20
0
votes
0 answers

CopyElements failing with ViewSheet

I'm trying to copy some ViewSheet elements from one document to another, but I always get a: "Copying one or more elements failed." It's working fine with ViewDrafting and ViewSchedule - checked the DuplicateViews sample on the SDK already, and…
Izzy Rodriguez
  • 2,097
  • 3
  • 21
  • 32
0
votes
1 answer

How do I display the value of a shared parameter using an Element collector in Revit?

Thanks in advance for the help. I have no idea what I'm doing wrong and it's becoming very frustrating. First, a little background... Program: Revit MEP 2015 IDE: VS 2013 Ultimate I have created a Shared Parameter file and added the parameters in…
0
votes
2 answers

Revit API: creating custom pulldown parameter

My team is developing a plugin for Autodesk Revit. We would like to provide the user with a custom parameter (project or shared) that appears in the Properties panel of all (or most) structural elements, that lets the user select from one of a…
Jake
  • 2,852
  • 7
  • 32
  • 39
0
votes
3 answers

Checking that an Extensible Storage Schema exists before retrieving it's fields

I have used an if statement to check if the method retrieving the schema is null, this is in a separate form that contains the checkedListBox to populate. The code is below and I have marked the conditional that checks for this. My question is; …
Bimtopian
  • 37
  • 1
  • 5
0
votes
1 answer

Passing checkedlistbox.checked items cast as a List from a Form instance to a Revit class function

I am not having any issues making calls from the form instance to the Revit class. It's when I try to assign a List to the Revit class's function categoryList(), that I get a variable doesn't exist in the context error. I tried prefixing a reference…
Bimtopian
  • 37
  • 1
  • 5
0
votes
2 answers

How to Write to a schema a Revit Built-In Category list, when the builtInCategory type is not allowed

The line of code where the fieldbuilder is constructed assigns a type that can be stored as a string, int, XYZ etc. The developer documentation doesn't include the "BuiltInCategory" type. I need to write this List to the…
Bimtopian
  • 37
  • 1
  • 5
0
votes
3 answers

How to add a revit DB built-in-category list to a listbox on a form

If I try to use addrange to add this list "builtInCats_List = new List();," to a list box I get the following error below. cannot convert from 'System.Collections.Generic.List' to…
Bimtopian
  • 37
  • 1
  • 5
0
votes
2 answers

The type 'Autodesk.Revit.DB.Element' has no constructors defined

I want to create a class and have it inherit from the Autodesk.Revit.DB.Element class public class MyElement : Autodesk.Revit.DB.Element { //... } But when I compile the code I get the following error The type Autodesk.Revit.DB.Element has no…
user3451925
  • 33
  • 2
  • 6
0
votes
1 answer

How do you prompt a user to choose a series of points from an external application in Revit 2014?

Stack, I'm developing an application to work with Revit 2014. Whether it will run inside of Revit or outside as an external application is yet to be determined. At this point, I'm attempting to prove the concept using commands through the add in…
0
votes
1 answer

Autodesk Revit 2014 .NET C# show hide window/view

Please advise. I whant to show or/and hide Autodesk Revit 2014 windows views using .NET C# API. Someone can help ?
user3451925
  • 33
  • 2
  • 6