Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
庆彬 苏
Likes
Profile
Activity
Communities
Friends
Mentions
Likes
Achievements
Bookmarks
Blog Posts
Questions
More
Cancel
RE: 打散普通的cell没有出来预想的效果
庆彬 苏
void RingCreaterCLR::DropComplex(Bentley::DgnPlatform::ElementId eId) { EditElementHandle eehcell(eId, ACTIVEMODEL); DisplayHandlerP disp = eehcell.GetDisplayHandler(); ElementAgenda dropGeom; DropGeometryPtr DropElementPtr = DropGeometry…
over 1 year ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: 【MSCE C#】 如何隐藏元素附加的属性值?
Xiaoqi Zhang
您可以试试这样,在您创建的每个 property下面设置: IECProperty iecProperty = iecClass.AddProperty(validName, ECObjects.StringType); iecProperty.DisplayLabel = propertyName; iecProperty .SetCustomAttribute(Bentley.ECObjects.UI.ECPropertyPane.CreateHidePropertyAttribute…
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: 【MSCE C#】 如何隐藏元素附加的属性值?
明昊 刘
您好,使用这种方法后,无论属性行是否有值都不显示
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: 【MSCE C#】 如何隐藏元素附加的属性值?
Xiaoqi Zhang
您可以先去判断,如果没值就将该属性设置隐藏,也就是把代码位置从创建ec移动到创建好后遍历里面。
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: 【MSCE C#】 如何隐藏元素附加的属性值?
明昊 刘
您好,我按照您说的先判断该属性行是否有值,然后设置隐藏。 但关闭dgn文件后,再次打开还是显示所有属性。
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)