get failure type
Hi guys, What I want:if Revit throws a failure to catch that failure and return what kind of failure that is (so I can delete the warning accordingly) Example:I set a Mark to two elements. Revit...
View ArticleGroup Origin Point is moved when using Revit API.
Dear Everyone, I have a question about loading group into another Revit project/file.I have created a group file like the image above. The image above is loaded group in other Revit file.On the left I...
View ArticleRe: Make instance and its parameters NOT editable
So I have talked to the support.Atm there is no way to "lock" an instance in the model...Unfortunately the workaround(s) are the only ways to get such behavior... Thanks a lot again for your help!!!
View ArticleRe: Reveals at Ends of Walls
Congratulations on a good step forward! That is a million percent more information than 'it just breaks'. Next, I would suggest stepping through the same operations manually in the end user interface...
View ArticleRe: Reveals at Ends of Walls
You are adding multiple wall reveals to one single wall, and the second one fails? Maybe you need to regenerate in between, or even commit the transaction and start a new transaction for the second...
View ArticleRe: Angle, direction, orientation ...?
thanks,No, only on the points, most I get from the supplier and everyone makes them in their own wayi wanted neutral point that have nothing to do with that accessorie
View ArticleRe: RibbonItem Combo Box of scopBoxes at Runtime
Might be easier to implement this independently of the Revit API, modeless, using Windows API or .NET libraries...
View ArticleRe: Use NewCrossFitting() to connect four pipes which in different types,the...
Implement the desire model manually through the user interface. When you are happy with it, use RevitLookup to analyse the result and find out:...
View ArticleRe: Use NewCrossFitting() to connect four pipes which in different types,the...
1- let the user select the pipe whose the desired cross family type is defined in its routing preferences prior to hitting the tool button. 2- extract the desired cross family type. 3- do the...
View ArticleRe: get failure type
It seems to me that the LabelUtils class would be the appropriate place to provide this functionality: https://www.revitapidocs.com/2020/8cdbbb5c-a21e-ad1d-e9a3-6535f5d27894.htm I don't see it there,...
View ArticleRe: RibbonItem Combo Box of scopBoxes at Runtime
Hi Jeremy.Thx for answering.Do you have a lead or an exemple?It seems that the Enscape plugin show the list of 3D Views with a modeless form. What do you think about that?But I'd like to know how which...
View ArticleMissing linked files
Hello, I have individual unit model plans that are linked into the building plan but when I linked the building plan into the site model. The unit model plans don't show up. We have had warning about...
View ArticleForce my app to use assemblies in its folder
Hi Dears,i have some plugins for Revit each one in separated folder with its own & shared dll files like followingmy apps in folders named A B...
View ArticleRe: get failure type
We don't have precisely what you are asking for. `LabelUtils` are generally for looking up the text that matches an enumerated type. For Failure Definitions, this can be accomplished by...
View ArticleRe: Force my app to use assemblies in its folder
Afaik, you have to name the different flavours of X, Y and Z differently. Afaik, if they are named the same, .NET will only load the first one and reuse that for the others....
View ArticleRe: Missing linked files
Unfortunately, this is not the best place to ask such a question. Please note that this discussion forum is dedicated to programming Revit using the Revit API. Therefore, you cannot expect an answer to...
View ArticleRe: Crash report on Revit shutdown with external plugin enabled
Hi, Thanks for your time and answer. We've reduced the situation until we found it. It was a memory leak in a 3rd party library (devexpress) that we use.There was no scenario to reproduce, only loading...
View ArticleUnusual Wrong Full Class Name Error
Hey folks,I have a good amount of time developing add-ins for REVIT, but I have never come across this error seen in the attached image. How could it be possible that the addin manifest is failing to...
View Article