Bentley Communities
Site
Search
User
Site
Search
User
Welcome to Bentley Communities
Bentley's Communities
Bentley 中国优先社区
Cancel
Bentley 中国优先社区
Sign In
Bentley 中国优先社区 requires membership for participation - click to join
All tags
c#.net
c#二次开发
addin
C# ORD中国版
ORD二次开发
关于使用C#SDK创建Alignment以后Element属性为空的问题
fanghua wei
各位好,在使用代码创建Alignment对象时发现了一个问题,创建出来的Alignment对象无法访问其Element属性。 我的代码是先创建平面线再创建纵面线: 这个Alignment创建完以后能够在DGN文件中显示: 但是,创建出来的Alignment对象的element属性为空值: 去使用al.Element访问该属性的时候会导致ORD异常崩溃。 但是,如果我使用con.GetActiveGeometricModel().Alignments去遍历这些Alignment的时候…
over 1 year ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
DTMElement dtmElement为空
yue yao
各位老师好 Element bottl = Session.Instance.GetActiveDgnModel().FindElementById(elld); Bentley.TerrainModelNET.Element.DTMElement dtmElement = bottl as Bentley.TerrainModelNET.Element.DTMElement; 为什么 DTMElement dtmElement是空啊,id是mesh,请各位老师指点一下
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
View related content from anywhere
More
Cancel