add_tag#
- Item.add_tag(tag: str = '', value: str = '') bool #
Add a tag to the item.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
Examples
import ansys.dynamicreporting.core as adr adr_service = adr.Service(ansys_installation = r'C:\Program Files\ANSYS Inc\v232') ret = adr_service.connect() my_txt = adr_service.create_item() my_txt.item_text = '<h1>The test</h1>This is a text item' my_txt.add_tag(tag='tagone', value='one')