Quantcast
Channel: All Revit API Forum posts
Browsing all 66835 articles
Browse latest View live

Re: Picking New Element Host via API

Dear James, Thank you for your query. Afaik you are perfectly right, and the host element or level or plane can only be set at creation time. Please file a wish list item in the Revit Idea Station for...

View Article


Image may be NSFW.
Clik here to view.

New Extrusion in New Conceptual Mass Family Document

Revit 2019/ VS Community 2017 15.9/ Framework 4.7 Hi All, Below is a visual step-by-step of what I am trying to accomplish. Below is code and project is attached. Apologies if my code is sloppy....

View Article


Get element 's name in different langage that the Revit at startup

Guys I am developping a samole Add-In that aims to dump into a file all  selected elements of a document.Among the element 's attribute that will be dumped in the file is it name.And I want force the...

View Article

Image may be NSFW.
Clik here to view.

DIMENSION IN ELEVATION VIEW OR SECTION VIEW

Hello friendsI have the following code which dimensions in plan the axes (grid)but it does not work in elevation and can not size the levelsCould you help me with this topic?I appreciate the...

View Article

Image may be NSFW.
Clik here to view.

Display Error (in Revit 2018 only) when new Thread is called

I am currently creating a new Thread when the Document Opened Event is called. The new thread has no interaction with the Revit API and just makes a rest call to a server. The problem is, that on this...

View Article


Re: How to get" Floor & Slab "Location

  Thx~It works but the output duplicate so  in order let someone else might be need,put the code down below(External way) public Result Execute(ExternalCommandData commandData, ref string message,...

View Article

store some data in a [windows] form with some properties specific to an element

Hi,I am sure you have seen steel connections in Revit. You double click on an instance and it opens a windows form with some properties of the connection. I have made a family and I have added...

View Article

Re: store some data in a [windows] form with some properties specific to an elem

When you mean store some data, if you mean parameter: You can store the parameter name and value in the list box as array list then you can add to the family via Family Manager Class.  If you mean...

View Article


Re: Display Error (in Revit 2018 only) when new Thread is called

As I know, Revit API works only main thread. So you can't force it to work on another thread which isn't main. The new thread has no interaction with the Revit API and just makes a rest call to a...

View Article


Re: Dockable Pane page size?

I recently ran into this problem, and neither changing the display scale to 100% nor enabling "Let Windows try to fix apps so they're not blurry" had any effect. Does anyone have another solution for...

View Article

Re: Can I develop a Revit AddOn with .NET Framework 4.7.2

Yes. It is possible.

View Article

Re: Question about Categories

Just for information ... if someone may be interested:I asked the same question in the non-api-forum and got some confusing answers. However it seems that it is NOT possible to create a component...

View Article

create sheet witout titleblock

Hello,Is it possible to create a new sheet withou assign a title block?I'm using:ViewSheet sheet = ViewSheet.Create(doc, titleblock);but I need to do it without assign the title block 

View Article


Image may be NSFW.
Clik here to view.

Re: create sheet witout titleblock

Hi  , For no TitleBlock, pass invalid element ID.ViewSheet.Create(doc, ElementId.InvalidElementId);If this helped solve your problem please mark it as solution, so other users can get this solutions as...

View Article

How to fire circle command in revit.

How to fire circle or rectangle command in revit ? 

View Article


Image may be NSFW.
Clik here to view.

Re: How to fire circle command in revit.

Hi  ,I think there is no method to create circle via  API instead you can use two arcs to create a circle.try using the below codeCurveArray CA = new CurveArray(); Plane p =...

View Article

Image may be NSFW.
Clik here to view.

Re: How to fire circle command in revit.

Hi  ,To set keyboard shortcuts,Goto View-->User Interface-->Keyboard shortcuts-->Search for circle-->Select Default circle and assign the key value-->press ok. assume you assigned key...

View Article


Re: Structural analysis toolkit, application results to view showing wrong units

Dear Jaroslav, The development team confirmed the problem: Results are stored correctly in ResultsBuilder. Unfortunately ArbitralyResults have not been tested enough and it looks like we have some...

View Article

Re: How to fire circle command in revit.

thanks naveen for your prompt reply,But my requirement is that,When user clicks on a push button, add-in will force user to draw a circle.[Tip :- user don't  want to type 'LI' and then select 'circle'...

View Article

Re: Are face normals of System Families always in project coordinates

Thanks Jeremy for this great answer. We are now aware of the fact that the normals of GeometryInstance objects can be different for the SymbolGeometry and instanced geometry in project coordinates and...

View Article
Browsing all 66835 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>