1
Automation Interface, Add-Ins and Tools / creating formatted notes in VB skript
« on: October 21, 2008, 10:29:45 pm »
I coded a piece of software, which happily produces classes and attributes at a fingertip.
The problems started, when I wanted to add formatted notes to the attributes.
My documentation is enriched with html tags and EA 7.1 renders them correctly - as long as I manually update t_attribute.StyleEx with volatile=0;
Unfortunately setting StyleEx within my VB-Skript produces errors.
Can anybody help me?
greetings
Ilario
The problems started, when I wanted to add formatted notes to the attributes.
My documentation is enriched with html tags and EA 7.1 renders them correctly - as long as I manually update t_attribute.StyleEx with volatile=0;
Unfortunately setting StyleEx within my VB-Skript produces errors.
Code: [Select]
Set newAttribute = newILBClass.Attributes.AddNew(name,EnumCodeElementType.ctAttribute)
newAttribute.styleex = "volatile=0;" ' <<<== this throws an error
newAttribute.Update
...
newAttribute.Notes = documentation
newAttribute.Update
Can anybody help me?
greetings
Ilario