Book a Demo

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.


Messages - jarnold30

Pages: [1] 2
1
General Board / Re: tagged value connector gets out of step
« on: August 14, 2022, 06:55:32 pm »
Sorry, what do you mean?

2
General Board / Re: tagged value connector gets out of step
« on: August 14, 2022, 07:10:53 am »
OK, I'll try to be more specific.

I have an element (named 'DB Admin') with a tagged value connector.  The tagged value is set to an element, originally called 'full access to all records'.  When I look at the tagged value on 'DB Admin', this value is what appears in the field.

I now change the name to 'Customer Records::Full Access To All Records'.  However the tagged value on 'DB Admin' hasn't changed.  It's now inconsistent.

3
General Board / tagged value connector gets out of step
« on: August 13, 2022, 11:01:26 pm »
Hi folks.

When I create a tagged value connector, the value is the name of the object I select.

When I change the name of the object, the value of the tag doesn't change, so it becomes out of step.

Is there something obvious I'm missing?

4
Hi, I have set up some shape scripts for my stereotype profile.  These set up a decorator at the top right corner of the element box.  They reference images.

Most of the icons displayed OK originally but when I changed the images, the decorators didn't change.

Also, one of the decorators is refusing to display at all.

Help!!

5
Automation Interface, Add-Ins and Tools / trouble with toolbox icon
« on: July 29, 2022, 06:01:45 am »
Hi
I have set up a toolbox profile with some icons.  Most of the toolbox icons display OK, but one of them, instead of displaying the icon I have set, it displays a folder icon.

Any ideas?

6
doh!  If I had $1 for every time I made this error I'd be rich.  Thanks

7
Hi, I have a stereotyped element with a tagged value connector.  That is, it has a tagged value which references a collection of elements.

I am trying to write a script which iterates over this collection, but it's failing with an error.

The code looks like this

1                  dim capabilities as EA.Collection
2                  capabilities = tag.Value
3                  for n=0 to capabilities.Count-1
4                     dim capability as EA.Element
5                     capability = capabilities.GetAt(n)
6                                                      <stuff>
7                  next

The error is 'Object Required' at line 3.

Any ideas?

8
look on the bright side...

9
Many thanks.  Just after I translated everything into vbscript...

John :-[

10
Hi, there doesn't seem to be any way to do it in Javascript.  I have rewritten my code in vbscript.  >:(

11
Hi.
I am scripting using javascript.
I want to open an output file to write to.
How???

J

12
General Board / Re: generate code from a port
« on: July 09, 2022, 01:02:31 am »
Thanks.  Given what a general pain in the a**e the macros are, I may have little choice.

13
General Board / generate code from a port
« on: July 08, 2022, 07:01:00 am »
Hi all
I am trying to generate code from a port attached to a class.
I'm struggling to work out how to make the ports visible to the code generator macros.
Ay ideas?
John

14
General Board / Re: can't generate code for a new language
« on: July 08, 2022, 06:59:19 am »
OK, I found out how it all works by looking at the java templates.  Phew!
Thanks for your help everyone

15
General Board / Re: can't generate code for a new language
« on: July 08, 2022, 01:21:44 am »
Thanks.  I have read this doc, but it's still not clear to me what I need to do to actually generate code.  Are there any examples anywhere?

Pages: [1] 2