仅提供中文版本
今天在检索房间分隔线时,发现如果墙体中端??与其他墙体有连接,
会将房间分隔线断开,可以看到此处位置房间边界变为五段
本身并没有什么太大的影响,但是如果我们点开里面Line里面的ElementID进行查看时,会发现Element重复的问题,如果开发者在此处进行重复线段的提起那判断并将ID设置Key会出现少线段的问题
==线段4—ID==
==线段五—ID==
Author: Broccoli
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles
2021-01-19
WCF Use Console to Drive Revit
Currently doing family library project, already made WPF interface but because it was WPF project at start, intermediate interaction operations need to be implemented in Revit, thinking of driving Revit through WPF thereby implementing communication between two windows. One way is generic, implemented using external event, this path is relatively easyAnother way is when reading jimmy‘s blog found a case, using WCF as connection to drive two independent programs. Regarding creating WCF program...

2021-09-14
QT+ CLion + Revit Issues Summary
Because I always wanted to implement the QT+CLion+Revit development path, I started learning QT and C++ from scratch. Here I record the problems encountered in QT and subsequent issues. If the development cycle is insufficient, it is estimated that I will burn the midnight oil for one or two weeks to get it out, and updates may stop at any time. The current idea is to create a dll with C++, write the QT interface in the dll, and then use the C++ Revit API interface to implement the entire ste...

2020-05-19
使用NSIS制作revit插件安装包
@TOC 使用NSIS制作revit插件安装包下载NSIS DOWNLOADHM NSIS Addin文件==我们需要将addin文件进行单独存放==位置放在读取文件的section后就可 修改脚本文件 增加对addin文件的路径自动修改 1234567891011 Section change StrCpy $1 "<Assembly>" StrCpy $1 "$1$INSTDIR" StrCpy $1 "$1\bin\De··bug\Panel.dll</Assembly>" Push <Assembly>name.dll</Assembly> #text to be replaced Push $1 #replace with Push all #replace all occurrences Push all #replace all occurrences Push C:\ProgramData\Autodesk\Rev...
2020-01-19
2016 RevitAPI Batch Generate Multiple Components
Today I found a quite interesting class searching the API: FamilyInstanceCreationDataBy passing parameters, you can use doc.Create.NewFamilyInstances2() to generate all components at once.This class can be used for modeling or adjusting components. The method comes with two methods. .axis && .RotateAngle can save the steps of using ElementTransformUtils.RotateElement() after generating components before. It is more concise at call level than generating one by one before. The time diff...

2020-04-28
Revit Secondary Development Dockable Panel Click Button Interaction with Revit Main Window
Create Dockable WindowGithub AddressAddress ReferenceThe Building CoderCSDN Revit Secondary Development Dockable WindowRevit Secondary Development - Non-modal Window and Revit Window Focus SwitchingRain Flower Pick - Revit Secondary Development ExternalEvent Implement Non-modal FormRevit Secondary Development Entry: Chapter 9 Events Create WPF Window After adding WPF window, modify usercontrol to Page, F7 cut into background also modify to Page. Also need to referenceAutodesk.Revit.UI.IDockab...
2021-06-08
Revit PromptForFamilyInstancePlacementOptions Family Placement API
Doing family library during this period, when needed to connect with Revit at the end, hoping users can choose to download and then directly arrange components in Revit. Searching API, found PromptForFamilyInstancePlacementOptions method can be used to implement family placement. The code is relatively simple, but need to remember, since PromptForFamilyInstancePlacementOptions will create a transaction itself, so if using it, need to move this method out of transaction. code: 1234567891011121...
Announcement
欢迎访问!右上角可切换中英文。感谢您的阅读!



