惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Threat Research - Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
A
Arctic Wolf
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
I
Intezer
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
Latest news
Latest news
Help Net Security
Help Net Security
S
Security Affairs
Webroot Blog
Webroot Blog
The Hacker News
The Hacker News
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tor Project blog
Forbes - Security
Forbes - Security
Google DeepMind News
Google DeepMind News
AWS News Blog
AWS News Blog
Attack and Defense Labs
Attack and Defense Labs
P
Proofpoint News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Help Net Security
L
Lohrmann on Cybersecurity
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
MongoDB | Blog
MongoDB | Blog
Cyberwarzone
Cyberwarzone
The Last Watchdog
The Last Watchdog
S
Securelist
N
News and Events Feed by Topic
S
Secure Thoughts
F
Fortinet All Blogs
博客园_首页
C
Cybersecurity and Infrastructure Security Agency CISA
量子位
M
MIT News - Artificial intelligence
F
Full Disclosure
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
P
Privacy International News Feed
L
LangChain Blog
Know Your Adversary
Know Your Adversary
C
CERT Recently Published Vulnerability Notes

博客园 - Albert_MIN

在 ASP.NET Core MVC 中,接收数据的几种方式 Content-Type 对应不同的前端数据结构与构造方式 Revit二次开发 钢筋生成API(二) Revit二次开发 钢筋生成API(一) revit二次开发 钢筋布置方式 revit二次开发之 钢筋功能详细分析 revit 二次开发之收集器、过滤器和选择器 Revit Server的注意要配置说明 WCF文件配置服务 WCF服务的各种绑定 Revit二次开发之 对象的隐藏与显示 Revit二次开发之 Material 分析 Revit二次开发之 PolymeshTopology Revit 二次开发之 图纸的导出 Revit开发之 IExportContext接口详细 JavaScript 困惑之 ArrayBuffer JS 困惑之this的指向 Revit二次开发之 族的创建 Revit二次开发 钢筋生成 Revit二次开发之 尺寸标线(二) Revit二次开发之 尺寸标线
Revit二次开发之 GeometryObject分析
Albert_MIN · 2023-09-25 · via 博客园 - Albert_MIN

Revit包含了一套完整的几何库,这些几何对象都继承自GeometryObject对象,根据分类,我们可以知道,图形元素的集成关系如下:

 1、Autodesk.Revit.DB.Arc 对象,当前主要用于一些标尺对象

  1. GeometryElement

这个是比较核心的元素,Element通过get_Geometry函数,能够获取的元素就是这个元素,这个对象,本身是不包含图形的,包含图形是它的GetEnumerator枚举类型,其枚举类型是包含以上可能的所有元素,包括GeometryElement。

  1. GeometryInstance

主要是族元素获取其图形元素,Revit使用geometryinstances存储给定族的几何图形的单个副本,并在多个实例中重复使用该副本,并非所有族实例都包含geometryinstance。当Revit需要为给定实例制作族几何图形的唯一副本时(由于本地连接、交点和与实例放置相关的其他因素的影响),将不会遇到geometry instance;相反,将在层次的顶层找到实体几何图形。GeometryInstance提供通过GetSymbolGeometry()和GetInstanceGeometry()方法读取其几何图形的功能。这些方法返回另一个Autodesk.Revit.DB.GeometryElement。

  1. Curve图形

各种线段在revit中应用比较多,比如模型分析线、标准线、机电里面的导线,很多都是以Line、Arc、NurbSpline和多边形的方式表达。

  1. Edge、solid、face等

对于一些Solid来说,它是有2个核心元素组成Edge和face,而Edge主要是Curve组成,而对于所有的Face,则是由多个MESH组成。MESH是图形的最基础元素,组成了所有的空间三维对象。

  1. Polyline

多边形元素,在REVIT一些房间等多边形元素,都是基于这个对象。