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 - qwerty

Pages: 1 [2] 3 4 ... 12
16
Automation Interface, Add-Ins and Tools / TaggedValues.GetAttribute
« on: August 28, 2016, 06:47:55 am »
I'm wondering what that might be. The help says
Quote
Returns the text of a single named property within a structured Tagged Value.
Parameters:
propName: String - the name of the property for which the text is being returned
Now, that does not make me much wiser. So I passed an arbitrary string, but anything but a null string results in

What's this?

Similarly for HasAttributes:
Quote
Returns True if the Tagged Value is a structured Tagged Value with one or more properties.
My tag is clearly inside a structure (it's from a BPMN Activity). But what are those properties?

q.

P.S. Seems I found out what those properties are.  Thanks to Google. So I guess the error message is just one of those "you did something wrong, stupid" ones.

17
Automation Interface, Add-Ins and Tools / DiagramObject.SetFontStyle
« on: August 28, 2016, 12:14:50 am »
I tried this with simply
Code: [Select]
DiagramObject.SetFontStyle("Arial", 12, 0, 0, 0, 0)but got false in return. GetLastError was empty. Any advice on how to get this to work?

q.

18
Automation Interface, Add-Ins and Tools / DiagramObject.TextAlign
« on: August 27, 2016, 11:20:20 pm »
The help says
Quote
Indicates the alignment of text on a Note element on the diagram.
     1 = Left aligned
     2 = Center aligned
     3 = Right aligned
Defaults to 1 if an invalid value is supplied.
But it always returns 1 and can't be altered. Further: where could that be done with the GUI?

q.

19
Bugs and Issues / Show fully qualified tags
« on: August 27, 2016, 10:17:29 pm »
In my current API tests I came around the Fully Qualified Tags checkmark in Feature and Compartment Visibility. When I turn on Tags, my tags show nicely. But when I tick Fully Qualified Tags the Tags tick is removed and no tags are shown in the compartment. Unfortunately the Help button does not lead to any page that explains the meaning of the tick marks. What's wrong here?

q.

20
It's getting embarrassing, I know.

Now this one again shows the setting of the flag, but an attempt to change it does simply reset it to false.

Since the next one I tested did also not work, I will stop asking here. Maybe I'm doing something stupid?

q.

21
Maybe I miss something here. The help says
Quote
Indicates whether the object's composite diagram should be displayed by default when the object is selected.
What does "selected"  mean here? Trying to change the property did not work. It's always false. Similarly ShowConstraints: what does that mean? And it does not change anything. Always false.

q.

22
Automation Interface, Add-Ins and Tools / DiagramObject.IsSelectable
« on: August 27, 2016, 03:14:47 am »
This one did neither return the setting of the diagram object, nor did it change anything when trying to set it.

q.

23
So here's the next one that came with 12.1: These return (for the font I tested) the settings for bold, italic and underline. But once I tried to set any value here (I just tried with 1 since it returned 1 for bold fonts) it did reset the font to plain.

q.

24
Automation Interface, Add-Ins and Tools / Connector.VirtualizeConnector
« on: August 27, 2016, 02:09:26 am »
Sorry, but it seems there seem to be a couple of stumbling stones. I have tried VirtualizeConnector and it returns true. But it does not do anything with the diagram. Any takers, please?

q,

25
Automation Interface, Add-Ins and Tools / Connector.ReturnValueAlias
« on: August 27, 2016, 01:53:39 am »
This one also came with 12.1. The help says
Quote
Shows the 'Return Value Alias' field of the operation.
This enigmatic in several aspects. I have no idea where that Shows the 'Return Value Alias' might be. And what operation is connected with a connector? So: anyone has any clue what that might mean?

q.

26
Automation Interface, Add-Ins and Tools / Connector.MessageArguments
« on: August 27, 2016, 01:45:49 am »
Here's the next one: I tried to alter it since the help does not tell it's r/o. But ist did not change anything. Came with 12.1. Anyone tried this before?

q.

27
Automation Interface, Add-Ins and Tools / ExtractImagesFromNote
« on: August 27, 2016, 12:41:01 am »
I'm currently going through all the things that have been added to EA's API since 9.3. Has anyone ever used Repository.ExtractImagesFromNote? I just tried that but the only thing I get in return is an empty string (testing with 1224).

q.

28
Bugs and Issues / Time limit for search not working
« on: August 15, 2016, 11:59:42 pm »
I had just been searching for something with the forum search. I set the maximum time to 999 but it still returned more than 6 year old posts. So either the limit is ignored or the time on planet Sparx runs differently?

q.

29
Suggestions and Requests / Stop SPAM
« on: August 12, 2016, 10:38:39 pm »
Any chance to get a button that allows to move threads to a spam folder which is only visible to an operator who can then either delete it or talk to the person moving the thread? Available to long-term members only. Or a mechanism like on SO where 5 people can vote for being spam and then the thread gets deleted?

q.

30
Bugs and Issues / MDG in V13
« on: July 27, 2016, 08:51:39 pm »
I had just again played around with the (first) V13 release. I noticed that switching MDGs randomly turned on other MDGs. Known issue?

q.

Pages: 1 [2] 3 4 ... 12