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 ... 9 10 [11] 12 13
151
I just have published an e-book which explains numerous details of EA's repository structure. Intended readers are not only programmers but also people which want to get out more from EA's advanced search facility. I published a short résumé on the the Sparx Systems Enterprise Architect Community Site under Advanced Searching. The e-book itself and a preview are available at http://leanpub.com/InsideEA. I'd be happy to receive feedback and will amend the book accordingly.

q.

152
Automation Interface, Add-Ins and Tools / Book about Shape Script
« on: January 15, 2014, 03:46:17 am »
I have started writing a tutorial about Shape Scripts. I hope to be able to publish a pre-release next week or so.

https://leanpub.com/shapescript

q.

153
Does anybody know how to reset  SetLineStyle("double")? I found that in one example in the help (of course without any basic description). I tried "single" and "plain" but none worked. Is that a turn on only?

q.

154
Does this script (copied from the help) actually work?
Code: [Select]
shape main {
 layouttype="Border";
// if(HasProperty("ShowComposedDiagram", "true")) {
         addsubshape("ComposedDiagram", "CENTER");
// }

 shape ComposedDiagram {
      DrawComposedDiagram();
 }
}
I don't see any composite diagram.

q.

155
Automation Interface, Add-Ins and Tools / text instead of shape
« on: January 20, 2014, 12:34:34 am »
One of the MDGs uses a text <name> instead of a shape <name>. I could not find any difference in the effect of both. Does anyone know more about it. The help does not mention it at all.

q.

156
Automation Interface, Add-Ins and Tools / SetPen in shape script
« on: January 20, 2014, 08:02:22 pm »
To whom it may concern: Using
Code: [Select]
SetPen(get...Color(),<size>) has strange effects if there are bends in an applied connector shape. Using
Code: [Select]
SetPenColor(get...Color());
SetPenWidth(<size>);
however works as expected.

q.

157
Automation Interface, Add-Ins and Tools / #istagged# in shape script
« on: January 20, 2014, 12:08:29 am »
Does anybody know what this hash tag returns?

q.

158
Automation Interface, Add-Ins and Tools / #weight#  in shape script
« on: January 18, 2014, 06:49:59 am »
Does anyone know what this hash-tag returns (for a connector). I can't seem to find any weight property.

q.

159
When I try to assign a value (off or standard as suggested by the help) the compiler claims
Quote
Error: Invalid value for orientation. Acceptable values are: "nw", "n", "ne", "e", "se", "s", "sw", "w", "nw",  and "center"'off

Has anybody at Sparx tested this shape script in any way? I do not expect an answer to that question >:(

q.

160
Can someone confirm that the following shape produces non-sense:

Code: [Select]
shape main {
      MoveTo(50,50);
      ArcTo(0,0,100,100,100,50,0,0);
}

Even worse:
Code: [Select]
shape main {
      MoveTo(50,50);
      ArcTo(0,0,100,100,100,50,100,0);
}

q.

161
Someone getting sick of this? Well, I am...

I tried to use sub-shapes with 2 parameters where layoutType="border". It seems that only "N" and "CENTER" produce results, both being the same. Using "S" shows some strange result in the preview, but none at all on the real diagram.

q.

162
Automation Interface, Add-Ins and Tools / #classifier# in shape script
« on: January 15, 2014, 11:47:01 pm »
Has anyone an idea what this and the associated dot-notated hash tags will print? I have used Advanced/Parent and a Generalization. None seems to influence the tag. Bug?

q.

163
How do I do that? Println ("""") causes a compiler error. Println("\"") will print both the escaping backslash and the quote. Is there a #QT# or something crude alike?

q.

164
Automation Interface, Add-Ins and Tools / Creating a custom toolbox icon
« on: October 04, 2013, 07:43:30 am »
I was asked by someone how to create a toolbox icon in a MDG. I thought having done that in the past but could not remember. So I started trying and reading the help. Neither worked :-(

The EA help states
Quote
To set the icon for a toolbox item, locate the item in the Toolbox Items list and click within the Toolbox Icon column. Click on the ellipsis (…) within this column.  The Select a Toolbox Icon dialog displays. Locate the image file and click the Open button
But there is no Toolbox Icon column in the Toolbox Items list. They are plainly displayed as simple attributes - which don't have something like an icon.

Any help available?

q.

165
Automation Interface, Add-Ins and Tools / Wow!
« on: June 13, 2013, 04:26:14 am »
Instead of "Error - Missing" I now get "Error - Missing (0x80040154)"!

Which incredible step forward! An error code!

Would someone from Sparx be so kind to explain what this error code means? I mean, I'm no wizard nor a clairvoyant.

Honestly, I'm quite pissed off by the level of debug info we get from EA when it comes to automation or MDG deveolpment >:( >:( >:(

q.

Pages: 1 ... 9 10 [11] 12 13