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

Editing Formula for a family

I have created a shared parameter X, and I'm just applying a simple logic such asIF(X<0, X=0, X)In order to prevent negative value input.However, it shows up a warning "There is a circular chain of...

View Article


startAngle in Arc ctor

I'm programmatically transferring the Alignment Object from Autocad 2016 Civil3D to Revit.The Alignment object has several properties, however, due to the limited number of constrcutors on the Arc...

View Article


Re: Editing Formula for a family

Are you applying the formula to a different parameter? I believe trying to set a parameter based on its own value would result in this warning. (Also this isn't really an API question :-)

View Article

Re: Place repeating detail using the API

It seems that there is no easy way to place an element using the api. But we can easily copy the repeating detail using CopyElements from one view to the next.My suggestion: Create a repeating detail...

View Article

Re: REvit 2017 API Wishlist - PLEASE

For item #2 can't you use the ScheduleDefinition.IsItemized property and set to true?

View Article


pipe elbows

Hi, How do I get the elbows of a pipe.  Thanks & RegardsSanjay Pandey

View Article

Re: pipe elbows

Dear Sanjay, You mean connected elbow to pipe?. Actaully not get what you want?  Thanks

View Article

Setting Schedule View as Active View

Hi,    I need to set schedule view as Active view to uidocument in revit. But i am getting error like setting active view is temporarily disabled. Please find me the solution.  Thanks,Jagan.

View Article


Re: PromptForFamilyInstancePlacement Keyboard Shortcut problem

You can stop the error from popping up at least with a try/catch.  // Hack to suppress error when using Shortcut key to call command try { rvtUiDoc.PromptForFamilyInstancePlacement(familySymbol)} catch...

View Article


Re: MultiSegmentGrid start end problem

What I'm trying to determine is which end the grid head will be drawn on by default. The grid type allows a user to show a grid head on the start or end of a grid line. With a single segment line this...

View Article

vertical NewOpening gives error "Can't change plane of Opening Cut Sketch."

Hi, I'm trying to create a vertical opening with the code below. The opening can be created if the 3rd argument is "true". The resulting opening is perpendicular to the face.But when the 3rd argument...

View Article

Re: vertical NewOpening gives error "Can't change plane of Opening Cut Sket

Here is the RVT

View Article

Re: Support for BCF API

The stand-alone BcfApiExampleClient has been updated now and works again: https://github.com/rvestvik/BcfApiExampleClient I adapted the Revit version of it, retested, and it works fine too:...

View Article


Re: startAngle in Arc ctor

Dear Dirk, I could search for an answer for you. Here is some background info on arcs and other curves, for instance: http://thebuildingcoder.typepad.com/blog/2010/01/curves.html More comfortable and...

View Article

Re: Something About AllRef

Afaik, the count includes both logical and physical connectors. Check their properties to tell them apart: https://github.com/jeremytammik/AdnRme/blob/master/AdnRme/CmdElectricalConnectors.cs Cheers,...

View Article


Re: Editing objects inside Group

Dear Anders, Thank you for your query. Off-hand, I do not see anything wrong with your code. I am not aware of any other way to edit elements in a group except temporarily ungrouping them. I cannot...

View Article

Built In Parameter

Hi everybody, I'm working on a small API which allows to get instance parameter.  I arlready arrived to get wall area, floor area. I'm blocked on wall foundation length, column volume and slab area. I...

View Article


Re: Error: setValue on engaged ControlledLocalPointer before existence of TaskBl

Thanks Scott,  It's unfortunate that threading isn't supported. Meanwhile i'm happy that i found a workaround to my problem and i got my program to work. From now on this just has to be something to...

View Article

Re: Light Source with ElementIntersectsFilter

Dear Anatoly and Evgeny, Thank you very much for your updates, business case and new sample. I added them as notes to the issue REVIT-90948 [ElementIntersectsElementFilter and...

View Article

Re: Support for BCF API

This is great Jeremy.  Thank you for your work on this. - Brian

View Article
Browsing all 66667 articles
Browse latest View live


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