Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Unchangeable strings
university of vienna - omilab
Answer
1/18/18 7:25 AM
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
Answer
1/18/18 2:28 PM as a reply to 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