Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - hofzge

Pages: [1]
Automation Interface, Add-Ins and Tools / Adding Tags via Javascript
« on: January 25, 2018, 12:08:07 am »
When I try to tag elements in a model I get this problem:
Test Scripts.AliasToTag
currentElement.TaggedValues is undefined, Line: 115

This error occurs when I try to tag the elements:
Code: [Select]
var currentElement as EA.Element;
currentElement = theElement;

var taggedValue as EA.TaggedValue;
taggedValue = null;

if(currentElement != null)
// Output the current element's name and alias
Session.Output(indent + "Element=" + currentElement.Name + ", Type=" + currentElement.Type + ", Alias=" + currentElement.Alias);

        taggedValue = currentElement.TaggedValues.AddNew(taggedValueName, taggedValueValue);

in this line:
taggedValue = currentElement.TaggedValues.AddNew(taggedValueName, taggedValueValue);

Bugs and Issues / Cannot lock packages
« on: January 03, 2018, 08:22:27 pm »
For some time now I cannot lock a package: The right click menu has no points to lock packages.
I can only see "Merge package with XMI File"

Did I disable this by accident and if so where?

Pages: [1]