« Back to Technical Questions and Installation

RE: Change attributes with mode

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
RE: Change attributes with mode
Answer
7/1/15 8:46 AM
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
Answer
7/2/15 7:16 AM as a reply to 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