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
0
votes
1 answer

Snapping family symbol to reference planes

I have a curtain panel glass (showed below) with a bunch of vertical and horizontal lines as references planes that should be used to snap specialty equipment to intersections so they are properly placed. Right now the specialty equipment is being…
tucaz
  • 6,524
  • 6
  • 37
  • 60
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

Remote Debugging in Visual Studio: Symbol file does not match the module

I've been scouring the net trying to find an answer to this question, but all other suggestions don't work. I have a C# .net 3.5 dll that is an add-in to another program. The program calls the dll when the user presses a certain button. My tool is…
RodH257
  • 3,552
  • 5
  • 36
  • 46
0
votes
1 answer

Revit Api, Cannot turn on in familydoc model anti-aliasing and model edges properties for family element

I am trying to export a 3d Revit model family image for a thumbnail using the Revit API. I have tried to turn on the model edges so that they are displayed as darker lines and I have tried to turn on anti-aliasing so that lines are smoothed. I…
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

Is there a way in revit to identify left and right columns which are supporting a beam?

Is there a way in Revit to identify left and right columns which are supporting a beam ? . I want to know exactly which one is from left side and which one is from right side.
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

Get all building Elements with quantity and unity - Revit Api

For an export add-in on revit 2014, I need to get all building elements in the opened project. To get elements, I am currently using a logicalfilter : new LogicalOrFilter(new ElementIsElementTypeFilter(true),new…
Supamiu
  • 8,501
  • 7
  • 42
  • 76
0
votes
1 answer

Offset command in Revit API

How can I use the offset command in my C# plugin? I have the list of lines/arcs to include in the offset and the offset value. I can't find the command to use. I thought that the ElementTransformUnit class contains something to do it but it seems…
Tobia Zambon
  • 7,479
  • 3
  • 37
  • 69
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