« Quay về Technical Questions and Installation

RE: Change attributes with mode

Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
RE: Change attributes with mode
Câu trả lời
08:46 01/07/2015
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
Câu trả lời
07:16 02/07/2015 gửi bài phản hồi tới 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