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

Re: Add Revit Links to Project with C#

Why are you calling `RevitLinkInstance.Create` twice over with the exact same arguments? That looks weird to me. Cheers, Jeremy

View Article


Re: SetComparisonResult incorrectly returns Equal with elliptical arcs

Dear Thomas, Thank you for your updated report and careful analysis. I am glad to hear that you are getting consistent results now, and that the Dynamo confusion is clarified. Sorry to hear there is...

View Article


Re: Revit API with WPF

Thank you very much for the answer. So, if I want to develop an API but using a different UI, which one would be indicated? For instance, what type of UI do Revit developers use? Thanks!

View Article

Re: Add Revit Links to Project with C#

Hi Jeremy, i totally agree with your comment ;-); you can remove the 'finally' clause if you don't specify what it have to do. Interesting though, the Sharpdevelop editor gives an error without the...

View Article

Image may be NSFW.
Clik here to view.

Re: How do I find a direction and a value of AreaLoad from its 3 ForceVectors?

Yes I did searched with Revit lookup too, but could not find any appropriate parameter or method.As far I can not understand the AreaLoad behavior. Here is an example:I create an AreaLoad with 2...

View Article


Re: VS not recognizing namespace

Thanks for help guys!Turns out it was some problem with VS at work. At home it worked fine, I'm reinstalling it now see if it fix. Thanks all.

View Article

LevelOffset not working for Arc extrusion Roof

Hi,I've encountered a strange result and I'd like to know if it's my fault or if there's an error somewhere or a known issue.I'm trying to create a new ExtrusionRoof with an arc profile and then change...

View Article

Re: Revit API with WPF

Hi,I use WPF in Revit and I generally set them up as Page. That way I managed to run different actions in Revit while the WPF is active. You may try to set on Page and see if it helps you. Anyway, I...

View Article


Re: Problem with solid creation by TessellatedShapeBuilder

Hi, there is an Appliation.MinimumThickness property. It says in the RevitAPI.chm:"The minimum thickness allowed in Revit for a variety of geometric constructs. These include blends, extrusions, and...

View Article


Re: Area of a door

Thanks for your answer. Although, I was trying to get the area from the door because I wouldn't be concern about the host. I was thinking about the area of the geometry. Javi

View Article

Re: Area of a door

Besides, if I use your aproche, and I have understood your proposal, I couldn't find the size of each door and each window in the case there were windows and doors hosted in the same wall, because I...

View Article

Re: DWFXExportOptions()

Remy - thank you for your reply. I'm looking to embed shared parameters into exported geometry. IE: walls, conduits, ducts, etc. to contain the shared parameters/built-in that are binded to specific...

View Article

Surface and volum of an element

Hi everybody, I need to get the surface and volum of an irregular element using the list of solids of its geometry. The doubt that I have, if an element whose geometry is done for various solids, an...

View Article


Re: Get location of DLL from C# code.

The solution accepted here does not work for 2017. It returns the location of the .addin file, not the location of the executing dll which is in a .bundle sub-folder. I have only just picked up that my...

View Article

Revit camera coordinates

Hi! Is it possible to define the coordinates for Revit camera position? Thanks

View Article


Image may be NSFW.
Clik here to view.

Re: Revit camera coordinates

Hi! Look at View3D.GetOrientation() method. This is from RevitLookup (very useful tool): See also about camera positioning in 3dViews:...

View Article

Re: Why uidoc.CanPlaceElementType always returns true?

Dear JimJia, thank you for your reply. This inconvenience is not critical and has few impact to our product, we can live with it, but it looks a bit negligently, we can't measure this, but want to...

View Article


Image may be NSFW.
Clik here to view.

Re: IExternalCommandAvailability.IsCommandAvailable doesn't invoke after deactiv

Dear , thank you for your reply! I've attached sample project. Just open rac_basic sample, switch to addins tab, you'll see the command button is active, because startup view in this project is view...

View Article

Image may be NSFW.
Clik here to view.

Re: How do I find a direction and a value of AreaLoad from its 3 ForceVectors?

Hi! You are absolutely right, first of all you should check "Orient to" parameter value. If it is "Project", then Z value is XYZ.BasisZ. If it's value is "Work Plane", then, workPlaneId is refered to...

View Article

Re: Area of a curtain system

Hi! What about getting the sum of curtain wall panels areas? Look at this RevitPythonShell code: wall = selection[0] # you should select curtain wall before running this script panels = map(lambda x:...

View Article
Browsing all 67020 articles
Browse latest View live