組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
Unchangeable strings
university of vienna - omilab
答覆
2018/1/18 上午 7:25
Dear ADOxx Team
 
In my modelling method, I want to use pictures from a third party. The usage is allowed, but only if a reference to the creator or the licence is given. The shown picture depends on a class attribute. Therefore, I wanted to know if it is possible to show an unchangeable string in the notebook, which is also depended on the class attribute?
 
Thank you in advance.
 
Kind regards
Christian

RE: Unchangeable strings
attrrep attribute
答覆
2018/1/18 下午 2:28 作為回覆給Christian Muck
Dear Christian, 

in order to show an unchangeable String in the Notebook you can:
1) Create a class attribute and define the String, which should be unchangeable, as the Standard value of this created class attribute

2) Create an attribute and define the String, which should be unchangeable, as the Standard value of this created attribute + add “write-protected” in the AttrRep attribute of the class:f.e.: ATTR "NameOfCreatedAttribute" write-protected