« 回到Technical Questions and Installation

RE: Change attributes with mode

組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
RE: Change attributes with mode
答覆
2015/7/1 上午 8:46
Hi,

I want to know that Is it possible to set the value of some class attribute with the mode? In Library Atributes -> add-ons -> mode, we only include and exclude classes, so can i set the value of some attribute of that class with mode?

RE: Change attributes with mode
答覆
2015/7/2 上午 7:16 作為回覆給divya nagar
Dear Divya Nagar,

Thank you for your Question. You can visualize different attributes in the NOTEBOOK in different MODE's as follows:
Go to the attribute 'AttrRep' of the class and define your NOTEBOOK like e.g.:

 1NOTEBOOK
 2CHAPTER "Description"
 3ATTR "Name"
 4
 5MODE "Hello"
 6ATTR "a1"
 7
 8MODE "World"
 9ATTR "a5" 

In this example the Attribute 'Name' is visible in both, 'a1' in 'Hello', and 'a5' in 'World' MODE.

You can find the NOTEBOOK documentation at the following link:
http://www.adoxx.org/live/adoxx-attribute-notation-language-attrrep