Re: Analytical floor edge horizontal alignment
Dear Alexander, Thank you for your query. Nice to hear from you here as well. Thank you again for your contributions to RevitLookup! I love your compact and efficient code sample. It achieves a lot in...
View ArticleRe: Application dialog? - Project orginization
Dear Bryan, Thank you for your query. Sure, that all sounds sensible to me. I can't really think of much more to say off-hand. There are other options in some detailed aspects, of course. For instance,...
View ArticleRe: A project with an Output Tyoe of Class...
Kära Johan, In the Visual Studio project properties, you need to set up the external executable to launch, and it has to be Revit.exe, with its full path specified. Cheers, Jeremy
View Articledelete a type created in a family (RFA) file
Hi all, I want to delete a type created in a family (RFA) file then updating all projects that the family loaded in.The code as the follow. UIApplication uiapp = commandData.Application;UIDocument...
View ArticleRe: delete a type created in a family (RFA) file
Dear Nam, You are only deleting one single element. I think there may be more than one database element associated with the symbol. You should find and delete all of them, e.g., something like:...
View ArticleRe: Can I use Window instead of Page when making my dialog dockable?
Hey Jeremy, thanks for replying.Window can't be used - you've confirmed it. But what about UserControl?I tried to create dockable dialog with UserControl and it worked. It means we have two options:...
View ArticleRe: delete a type created in a family (RFA) file
Hi Jeremy, One more thing, when I close the family editor then re-open it, the type is removed from the list. Could you please help me a sample code? Thank you, Nam.
View ArticleRe: Opensource API for reading IFC Files..
Hi, many thanks for your code!We have some problems with IFC models that came from Bentley software (we use Revit): Bentley save IFCSLAB as IFCBUILDINGELEMENTPROXY Is it possible to update your code to...
View ArticleRe: Can I use Window instead of Page when making my dialog dockable?
I only know that UserControl can be used. I previously did not know that Page can be used as well.
View ArticleRe: delete a type created in a family (RFA) file
Dear Nam, I already almost did. I think I can safely leave the rest up to you. Cheers, Jeremy
View ArticleRe: Analytical floor edge horizontal alignment
Dear Jeremy! Thanks for your reply! I've attached the picture showing what I've tried to achieve in the user interface. The result of this action is shown in...
View ArticleRe: Analytical floor edge horizontal alignment
Dear Alexander, Thank you for your explanation. Ok, I can raise this with the development team. Can you possibly provide a reproducible case, i.e., a minimal Revit model including a macro reproducing...
View ArticleSCOPE BOX - SETTING HEIGHT AND WIDTH
Can an existing scope box height and width be set programmatically?
View ArticleRe: Analytical floor edge horizontal alignment
The sample project in: https://github.com/CADBIMDeveloper/WorkshopFiles/blob/master/Analytical%20Floor%20sample.rvt Sorry, I can't attach rvt or zip files through the browser, such requests are not...
View ArticleLoading and Unloading Point Clouds
Hello! :) I am having trouble figuring out how to unload a point cloud via the API. Initially loading a point cloud from a file and creating an instance is straightforward (F# Code): let cloudType =...
View ArticleRe: How to retrieve a Dimension's (segment) geometry ?
Dear Jonathan,Thank you for your confirmation and appreciation.Can you please provide a minimal sample model containing a macro to demonstrate how it all works? Alternatively, an external add-in would...
View ArticleCutting walls with beams
I have the following question in Revit API (I'm using Revit 2016): On a BIM model where you are a model of linked structure, is it possible to cut the walls at the top using the beams or floors above...
View ArticleWall Top Constraint Before Creation
I have walls coming in through the API with the top constraint set to level 2 but I want it to be set to Unconnected. I have found how to do this after the wall was created but it leaves it at the...
View ArticleRe: Wall Top Constraint Before Creation
what about use this. Wall.Create(Documentdocument,Curvecurve,ElementIdwallTypeId,ElementIdlevelId,doubleheight,doubleoffset,boolflip,boolstructural)
View Article