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

Pass parameter value to Revit family using .net api

I want to pass the parameter values to Revit family.I have spend many hours on google. In result i got few links which tells Read and Write Parameter Values with VB.NET Read and Write Parameter Values with VB.NET in this example we are fetching…
Vikky
  • 752
  • 3
  • 15
  • 35
0
votes
1 answer

How can I suppress the "Instance of linked .rvt file needs Coordination Review" dialog?

I need to suppress the Instance of linked .rvt file needs Coordination Review dialog while I'm running an add-in that opens multiple models because I don't want the user to need to click through a bunch of dialogs. I've added an event handler to…
skeletank
  • 2,880
  • 5
  • 43
  • 75
0
votes
1 answer

Get Conduit Standard Sizes in Revit Mep 2014

How do I get Conduit Standards with sizes using the Revit MEP 2014 API?
Nitin
  • 101
  • 2
  • 11
0
votes
1 answer

Difference between create Family Instance and copy the familyInstance and paste it revit api 2012

i have a lighting fixture family and i want to make copies from it.i know that create family instance with the same properies will give me another lighting fixture and if i used this command" ElementTransformUtils.CopyElement(Doc,inst.id, loc)"…
0
votes
1 answer

Translation Vector in ElementTransformUtils.CopyElement Revit 2012

i'm trying to make Instance of Selected object entered by the user in Revit Api 2012 c#,I discovered that the third input to ElementTransformUtils.CopyElement is the translation vector not the new place so i'm trying to pick fixed point from the…
0
votes
1 answer

create Instances of Selected object Revit Api

I'm new to Revit Api Programming..I want to make program that user can select any object he has drawn, then he will get the object repeated. the problem is i don't know how to identify object to get its parameters and the point to repeat it ..Any…
0
votes
3 answers

Revit 2012 API: unable to add multiple commands for pushbutton in Revit plugin

I have a push button in a Revit plug-in. When I click on it I would like to invoke two different commands (custom commands). Is that possible? I use Revit 2012 Architecture API and my platform is C# .NET
0
votes
1 answer

Revit 2013: Where can I get the T wall joins?

I'm trying to get all the joins from a given wall inside Revit, but all the resources I've found over the web are not working. The LocationCurve.get_ElementsAtJoin(n) only returns a few, and as the documentation points out: Get all elements…
Izzy Rodriguez
  • 2,097
  • 3
  • 21
  • 32
0
votes
2 answers

How to create wall with Location line coinciding with external area boundary?

I'm creating a wall over a area boundary line, but can't find a way how to place it with Location line "Finish Face: Exterior". I'm getting geometric data from area boundary: LocationCurve elLocation = (LocationCurve)area_boundary.Location; XYZ pt1…
cansadadeserfeliz
  • 3,033
  • 5
  • 34
  • 50
0
votes
2 answers

Getting wall brutto area in Revit API

I'm trying to get the wall brutto area with Revit API. However the only thing I'm getting is the netto area. I'm using the method with deleting the wall and reverting the changes to determine all the elements that are placed on the wall. Then, I'm…
minorum
  • 3
  • 2
0
votes
1 answer

BDD/TDD with Revit API

My question is relevant to this question, but I've somehow moved a step further and implemented a test framework using nunit. When I run the test framework addin inside Revit, the testing framework somehow locks the test assemblies making it…
alital
  • 411
  • 5
  • 15
0
votes
1 answer

Revit API 2012 Event handler for Cancel and Finish buttons

I need events to catch the finish and cancel buttons in Revit when creating a model group, or a Floor for example. The image below shows the buttons. Are there events for these actions?
RandomUsername
  • 364
  • 1
  • 5
  • 13
0
votes
1 answer

Determine whether a wall intersection is mitred or butted

Using the Revit API how can I determine if the wall intersection(join) type is a mitered join or a butt join. Where it is a butt-join, how can I determine which wall is the butted-up one? Can I programmatically change the intersection type and how…
sweetfa
  • 5,457
  • 2
  • 48
  • 62
0
votes
1 answer

Geometric Line representing external core face or internal core face of a wall in Revit API

I would like to extract the line segment that represents a wall in plan view for each of the various layers of a wall. What mechanism exist in the Revit API to allow me to do this.
sweetfa
  • 5,457
  • 2
  • 48
  • 62
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