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

Pages: 1 ... 531 532 [533] 534 535 ... 599
7981
Thanks or the info. Maybe you could have a look at the other ones too.

q.

7982
PrintIfDefined doesn't print anything at all. Neither truepart nor falsepart. Further the help says falsepart is optional. The compiler however claims that 3 parameters are needed. Anyhow: why does that method exist if there are control structures??

q.

7983
And one or two more:

SetDefaultColors will draw everything invisible.


SetFillColor does not do anything. Instead all elements are painted in the user defined color.

Well, I'm just at simple examples. What surprise will there be hidden in more complex things?

q.

7984
Automation Interface, Add-Ins and Tools / Re: ArcTo in shape script
« on: January 15, 2014, 07:28:48 am »
Here's another one:

vs.

SetPenWidth seems to be "pre-evaluated" in the script.

q.

7985
Automation Interface, Add-Ins and Tools / Re: ArcTo in shape script
« on: January 15, 2014, 02:49:19 am »
Obviously it's wrong then. Thanks for the feedback :-)

Sparxians: you may open a ticket if you feel that this needs correction. I will definitely NOT send a bug report (as you may know I'm sick of that).

q.

7986
Automation Interface, Add-Ins and Tools / Re: ArcTo in shape script
« on: January 15, 2014, 01:50:28 am »
The 2nd looks like this:

(Just use the img tag above and insert the public dropbox link)

This does not look like what is described in the help (partial arc).

q.

7987
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.

7988
I really appreciate what you do, Simon. And you are right: I missed this sentence right below (probably it should be part of the Border paragraph, not one on its own). However, have a look at this example:
You see the preview? Not exactly what the final shape looks like (try omitting either the "S" or "N" and see what happens then). Now further I would expect either of them to occupy only the 50 units, not something like 75.

q.

7989
Again: no!
Code: [Select]
shape main {
      layouttype = "border";
 h_align = "left";
      noshadow = "true";
      DefSize(200,100);
      setfillcolor(0,0,255);
 rectangle(0,0,100,100);
 addsubshape("sub","s");
 shape sub {
  setfillcolor(0,255,0);
  ellipse(10,10,90,90);
 }
}
"n" and "center" place it in the center. Just see what "s" produces :-(

q.

7990
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.

7991
I can't help with the linked document. If you don't get an answer from some guru here you are well served to send a support request to Sparx (bottom right of this page).

Regarding the cumbersome testing procedure: that's how it is. Even worse that you don't get any meaningful error message if something is wrong with your MDG. Blood, sweat, tears and curses....

q.

7992
You're probably better off to ask that somewhere at StockOverflow. I had the same question, but luckily could live with just one instance to be live.

q.

7993
No. There is no way. A feature request might help (or you buy Sparx and order the developers to  do it ;-)).

q.

7994
Thanks, Simon. That worked.

q.

7995
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.

Pages: 1 ... 531 532 [533] 534 535 ... 599