Re: Recording Executed Commands
You need to add the adwindows.dll as a reference to your project. Is use this myself, but it is not supported by autodesk, as far as I know,
View ArticleGetting levelId for Level below from viewrange returns -4
Hi, Im trying to retrieve information about view depth from the PlanViewRange object for a specific level.So first I try to get the elementId of all levels. However one level returns -4, what is that?...
View ArticleRe: Recording Executed Commands
In VB.NET, you'd do it like this:'in OnStartup AddHandler Autodesk.Windows.ComponentManager.UIElementActivated, AddressOf MyUiElementActivated 'in OnShutdown RemoveHandler...
View ArticleRe: Getting levelId for Level below from viewrange returns -4
Hi Erik,I remember muddling through this in the past, so here goes: If bottomLevelId.IntegerValue = -1 Then 'unlimited view depth ElseIf bottomLevelId.IntegerValue = -3 Then 'the same as the plan level...
View ArticleRe: Getting levelId for Level below from viewrange returns -4
Hi Matthew! Excellent, and quick answer! I just cannot believe that this functionality, added in 2013, is not documented.OR, that the api would just return the levelid and not some obscure reference....
View ArticleRe: Getting levelId for Level below from viewrange returns -4
Hi Erik,You're welcome! It took a bit of figuring out though, so I'm happy to save you the time.I also think it should be documented.I do understand why it is like this though. View templates. It's a...
View ArticleRe: browsing model files in the cloud (A360 C4R)
Hi Jeremy,I hope your prep for AU is going well? This issue has come up for me also.I've got Revit 2017.1 installed, but no joy.Support is required for:UIApplication.OpenAndActivateDocument (Still...
View ArticlePDFSharp compatibility?
I'm trying to use PDF document variables in Revit, so I downloaded and installed the PDFSharp NuGet in Visual Studio. It all installed easily and I don't get any errors in my code; Revit launches with...
View ArticleRe: Material reference
The materials are not included as ExternalFileReferences after Revit2012. So you cannot get anything by ExternalFileReferenceType.Material.
View ArticleRe: browsing model files in the cloud (A360 C4R)
Dear Matt, Thank you for asking, both about AU props and the topic at hand... AU preps are going fine. I'm looking forward to seeing you there. Regarding access to web hosted model files, we had a...
View ArticleRe: browsing model files in the cloud (A360 C4R)
Hi Jeremy,I'm glad your AU preparation is going well. Sadly, I'll not be coming to AU this year. Perhaps next. I'm glad the topic has livened up again!We're very keen to keep progressing, and going to...
View ArticleError during loading my plugin in Revit 2017 after Ofuscator use
Dear Jeremy, First of all, thanks a lot your great help in this forum. Please, let me expose to you my actual problem. I created a plugin for Revit 2017 in C# with visual studio 2015.After building the...
View ArticleRe: Error during loading my plugin in Revit 2017 after Ofuscator use
Dear Albert, Please address your question to all, not just to me personally. I hope that other people will answer as well. It is not mandatory to sign your DLL. For more information on that, please...
View ArticleRe: DockableFrameFocusChanged
Can you please provide a minimal reproducible case to prove that? In order to understand what you mean and be able to research possible reasons for the discrepancy between the observed and expected...
View ArticleRe: Revit Cloud Rendering and Redirect Issue
Dear Eman, Please note that this discussion forum is dedicated to programming Revit using the Revit API. Your question is a mix of a small portion of API questions and a large piece of end user product...
View ArticleRe: Revit Cloud Rendering and Redirect Issue
Hello Jeremy,thank you for your reply, Ok i got your point.but I want to ask you about the API features, do you have any document for it? where can i find it?Regards,Ema
View ArticleRe: Revit Cloud Rendering and Redirect Issue
Hello Jeremy,thank you for your reply, Ok i got your point.but I want to ask you about the API features, do you have any document for it? where can i find it?Regards,Ema
View Article