Hi Gents
I am looking for a method in OPM, when we placed a support location, is possible to catch the support number of the support location to the cell name? e.g. in element properties,
Cell Name = Name as shown the illustrated fig below, can you give some tips how can I make it? I know there maybe some function in class editor, it maybe can add some formula/expression.
I want the parameter "Cell Name" got the name as in OPM support location attribute automatically.
3107.Empty.dgn
查看帮助修改相应的getvalue获取不同类型的属性。
刚刚又自带的项目试了一下,除了Support Location块无法赋上cell name,其它的都能。
非常感谢啊!
如果要实现让support location实现我应该怎么做呢,你有没有什么建议?
我这里当然是没问题的。也许schema不同,你的support没有support_name这个属性,换一个别的文本类型的、能确认support的其它属性。
您那边代码运行没有问题吗?能把cell name都赋上值吗?是不是因为 SUPPORT_NAME 是ECExpressions, 代码不同?
从未遇到过问题。imodel是唯一的带属性跨软件的方法。如果某些元素带某些不带,应该是不带的那些元素的问题。