Re: Is RevitApi 2016 build 16.0.428.0 compatible with Revit 2016 R7 ?
Hi Matt, should you recompile for each build? Philippe.
View ArticleRe: Is RevitApi 2016 build 16.0.428.0 compatible with Revit 2016 R7 ?
No need, but you should provide different code for the section that causes a crash in one version, and not in the other. Or find a fix that works for both.
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
When browsing trough the modules i see RevitAPI.dll with the following messages. RevitAPI.dll M:\software\Autodesk\revit2017-2\Revit 2017\RevitAPI.dll Yes No Cannot find or open the PDB file. 36...
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
I think you should be looking for your module - that is the one you want to debug, right?Do you have your software actually installed at that location on your M drive? Because if not, that could be...
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
Yes i am trying to debug my own module, but it fails when i use Revit objects. I have everything installed at that M: path so the Revit API dll is there. This is what i get when i look at my module:...
View ArticleRe: Retrieving the original geometry of a wall
Dear Emanuel, Thank you for your query. Sorry this went unanswered for so long. Afaik, you can easily access the original geometry during the custom export process. Each graphical object exported is...
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
Have you created a basic addin from scratch to see if it's something to do with your addin? Make sure you've cleaned and rebuilt your solution, and check out the build location to see if any dll/pdbs...
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
Oh, and according to the Revit 2017 API docs:"Revit's binaries are built using .NET 4.5.2. However, Revit uses the runtime from .NET 4.6. At a minimum, add-ons will need to target .NET 4.5.2, but .NET...
View ArticleRe: Visual studio 2015 and .NET 4.6.1 debugging problem
havent tried attaching to the process
View ArticleLoading rfa and accessing family instance
Hi all, I'm using UIApplication.ActiveUIDocument.Document.LoadFamily to load an *.rfa file into a project and I'm wondering if there is a better way to access the FamilyInstance and FamilySymbol of the...
View ArticleRe: How to modify some parameters value (like "Luminous Flux") inside
I'm not sure about that specific FamilyParametr but this is how I usually do it.1 i get family document change parametersDocument familydoc = doc.EditFamily(some_family); FamilyParameterSet FPS =...
View ArticleRe: Loading rfa and accessing family instance
Hi Adam,If you're just wanting the symbol use loadFamilySymbol..If you have loaded the family, and have the family object (it can be passed byref - to use vb.net terminology), you can use...
View ArticleMaterial reference
Hi reviteers, There are 7 types ofExternalFileReferenceTypes. I am using this code to retrieve references in a revit project:ICollection<ElementId> externalReferences =...
View ArticleRe: Loading rfa and accessing family instance
Hello again Matthew, hope you are well! Yeah I've tried LoadFamilySymbol, but that is only useful in instances where the name/type of the symbol is already known. If I use GetFamilySymbolIds, would it...
View ArticleRe: Loading rfa and accessing family instance
Hi again!Yes all good, thanks. Hope you are also? It's quite easy (once you know!): Dim symbolIds As ISet(Of DB.ElementId) = family.GetFamilySymbolIds Dim doc As DB.Document = family.Document For Each...
View ArticleRe: Loading rfa and accessing family instance
All good here too thanks, apart from the occasional Revit API woe! Excellent, that looks easy enough. Many thanks once again. Cheers,Adam
View ArticleRe: Loading rfa and accessing family instance
No problem. Best of luck with your app! -Matt
View ArticleDockableFrameFocusChanged
Hi.We are experimenting Problems with DockablePanes, the reason is a misbehavior in the event UIControlledApplication.DockableFrameFocusChanged.It used to work properly in version 2016, but...
View ArticleRe: Recording Executed Commands
Thanks for the help. I am new to Revit API, and I don't know how to register the event in the External Application. I tried using "application.ControlledApplication" to register the event in the...
View Article