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

Get min from beam bounding box

I have a beam which intersects two columns . I would like to get the minimum point of the beam bounding box which is not inside the two supporting columns. I know that beam has a start point and an end point and I also know how to get its bounding…
0
votes
1 answer

Revit, how to get the XYZ corner points on a selected wall? This isn't the endpoints

I require the points on the edge across the width(narrow end) not the length(long end). Please understand this as the bounding box wont work! //these are not useful as they are points on the fixed cartesian plane x,y,z I cannot…
0
votes
1 answer

Starting a transaction from an external application running outside of API context is not allowed

Starting a transaction from an external application running outside of API context is not allowed. cannot start transaction.
Dhiraj Lotake
  • 29
  • 1
  • 6
0
votes
1 answer

Delete Maskined Region from Revit Document using C#

I want Delete Maskined Region from Revit Document using C#. Error : Modifying is forbidden because the document has no open transaction. Exception: ModificationOutsideTransactionException
Dhiraj Lotake
  • 29
  • 1
  • 6
0
votes
3 answers

Revit: Modifying is forbidden because the document has no open transaction

Modifying is forbidden because the document has no open transaction. The document has no open transaction. In Revit Document.
Dhiraj Lotake
  • 29
  • 1
  • 6
0
votes
1 answer

Accuracy and output from project tango

Can we import the output from Project tango to rivet software to analyse the existing building details. And also how accurate will be the output?
Manu Vijay
  • 11
  • 1
0
votes
1 answer

Place Equipment From Ribbon Revit 2015: Transaction already started

Stack, I'm programming an external application that works in Autodesk's Revit (2015). I've created a button on the ribbon that allows the user to place a special equipment that I'll use later to read and pass on to another process. I using…
0
votes
2 answers

how do you change the material of a splitface programatically

I used the splitface tool in revit and created a spliface object on a wall. I'm trying to use C# so that if I click on the splitface then it's material will change. I looked at some examples Element splitelem =…
revitenthusiast
  • 15
  • 1
  • 1
  • 7
0
votes
1 answer

Revit Family type parameter reading

I am not able to read all the parameters of selected element using vb.net. I need to read all the parameter including type parameters. My code is as follow. Dim picked As Reference =…
Imagine
  • 1
  • 1
0
votes
1 answer

How to avoid restart of Revit

I have programatically assigned a shortcut to my app using the Revit API. The shortcut key is not reflecting unless I restart Revit 2015. How can I avoid restarting Revit? Is there any way so that after assigning the shortcut key I do not have to…
Kailash kute
  • 9
  • 1
  • 6
0
votes
1 answer

Find a view filter Revit Api

I am trying to use a filter to show/hide a certain element on the view. The family is from catogary GenericModel. I use the same code snippet that on the help on the autodesk site it works fine in its original state (catogary is walls) but when I…
user3968554
  • 1
  • 1
  • 4
0
votes
1 answer

how to cut building into squres in reivit?

i'm in a project to place sensor in building(ifc file). Like the image(in the link below,page5 left) below, I plan to find a parking lot ifc file and put it in revit. Then cut the roof in to squares,and place sensor into the squares. I'm totally…
justinlin
  • 131
  • 1
  • 12
0
votes
1 answer

Revit 2014 API PromptForFamilyInstancePlacement method

i am trying load Revit files using loadrevitfamily() and wants the user to place specific family symbol on current project in Revit. my code is follows: public void loadRevitFamily(String f) { //Filename without extension …
0
votes
2 answers

C# Revit API, CreateIndependentTag method failing to add tag to ceilings, exception at line location point

This code attempts to add a tag to all ceilings in the ceiling views list. The ceiling view list populates and I can get the ceiling elements from the document, but it seems to be failing when trying to acquire the centre point of the ceiling…
0
votes
3 answers

WCF client configuration from custom location

I'm new to WCF and am trying to make my first service (a simple usage reporting service). I've gone through examples and tutorials and created a service. I have a simple test program that can run my core code and send the report. Currently I'm…
sfaust
  • 2,089
  • 28
  • 54