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

Re: load profile for NewSweep command

Hi Joe, any chance you could expand with a code example to select a profile? I have not been able to crack this one. Admittedly, I put it away for a while... Thanks, Dale

View Article


export views on sheets and links as external references

Hi Guys, Anyone knows why this toggle is excluded from DWG Export Setup?i want to diabled it (untill i would say otherwise) i searched the registry and found this key...

View Article


Image may be NSFW.
Clik here to view.

create and rotate transform - Radial Array

Hello everybody!I am trying to create a radial array. The information that I have to create it is:Array Center PointArray RadiusAngle for the first elementAngle for the other elementsNuumber of...

View Article

Import CAD File : Circles smoothness

Hi , I'm trying to import a dxf file into Revit 2016 and the circles are drawn like squares . I know that if I change the scale , the imported file will be displayed correctly , but if I do this it...

View Article

Image may be NSFW.
Clik here to view.

Invert Background

Hi everyone, I would like to know if we could programmatically invert background color of Revit, the action that we normally have to go Option >> Graphic >> Color >> Invert Background...

View Article


Re: create and rotate transform - Radial Array

I'm pretty sure you can multiply transforms together. try creating a delta transform (30deg) then multiply your master transform with it at each iteration.

View Article

Retrieving Id's of locked elements

Hi all,  I was wondering if it is possible to retrieve the ElementId's of elements which are locked to other (known) elements. For example in my project I have a grid element and multiple wall elements...

View Article

Re: Retrieving Id's of locked elements

The ID of a selected element can be found here: Manage tab > Inquiry panel > IDs of selection

View Article


Re: Get UniqueId of deleted element within dynamic updater? (with feature reques

Hi Arnost, I need to add my wish. I also need to access to the Element Type of the element being deleted. It would be the big difference if we have that information. In hsbcad we had to do a lot of...

View Article


Re: Get UniqueId of deleted element within dynamic updater? (with feature reques

If there is a small number of types you are interested in. Why not create an updater specific to each type? You can then infer the type based on which updater was triggered.

View Article

Re: Placing views on sheet exactly

I do the following workflow: - Draw a series of Red 2D lines extending so they align to certain points on the titleblock and the plan (if there are gridlines on the views, this is easy)- Make a group-...

View Article

Re: Filter Legend from viewsheet?

I'm uisng your workaround to filter all the legends placed on sheets and then delete the ones that are not on shets //get all the sheets in the model FilteredElementCollector vftCollector = new...

View Article

non valid parts from wall

Hi everyone,I'm trying to get the true Area from wall parts.I've done it dividing the parts' volume by their height and assigning it to a new Shared parameter.The problem is that Revit still reading...

View Article


Re: Retrieving Id's of locked elements

I'm aware of the "ID's of Selection" button, however this is not what I'm after. I want to retrieve the ID's through the API (I did not explicitly mention this since I've asked this question in the API...

View Article

Wall reference to dxf lines

Helo everybody! I have this question - Is there any reference between lines in dxf which was used by designer as a template to create walls and this walls?

View Article


Revit API testing addins

I have a question for test automation. Is the any way to provide automated tests, some framework which helps in unit testing( mocking api classes) Is there anyone experinced in this idea in comunity?...

View Article

Re: Revit API testing addins

Have a look at:http://thebuildingcoder.typepad.com/blog/2013/07/revit-add-in-unit-testing.html

View Article


Re: Revit API testing addins

Thank you!

View Article

IFC Import--Level line is automatically created

I have an application that creates an IFC file to be imported into Revit. When it is imported, a level line at 0m is included in each elevation. I can turn this off in each elevation manually. Is there...

View Article

Re: export views on sheets and links as external references

Moshe, I am impressed by your finding the dialog in the registry, but I am afraid the numbers recorded there simply identify the recorded position and size of the dialog window so it appears in its...

View Article
Browsing all 66662 articles
Browse latest View live


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