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 ... 530 531 [532] 533 534 ... 640
7966
Actually I also used python for a while. The crux with python is that you need an extra module for everything. And you can bet that the module you need is not available for the version you have currently installed. And cross-version there is nothing compatible with python. Though I think that the win32 stuff is available for any of the zillion python versions ;)

q.

7967
Remember that I'm not using any specific code (that is: not VB script) but a pseudo code. You need to adapt the code examples like above adding SET in VB.

q.

7968
I for myself had implemented it only once or twice to see it's working. YOu need to write an addin in the language of your choice and implement any method (in the example it's TVtest). EA will then can call this method and supply the parameters (in above example there are not parameters, you'd need to supply them comma-separated after the function name) to be processed. In return a string is expected which you can use in a print statement inside the shape script, e.g.
Code: [Select]
print("#addin:myAddIn,pFunc1#")Geert Bellekens has a blog about how to write an addin (in some Cxx) which is recommended by many people. Honestly I haven't read it since I made my way earlier on a very different path :D but even without reading I can recommend it.

q.

7969
The HasTag("<tv>") and HasTag("<tv>", "<value>") works only on TVs for the very element. It does not recognize inherited TVs. You might use the addin-escape like
Code: [Select]
hasproperty('addin:myAddIn,TVtest','TVname')to do that in an addin.

q.

7970
Well, it's EA. We would be happy to see things like you mention realized. But only a few of such user requirements made it to Sparx' development finally. I also used RR in the past (and would not like to go back) and I really appreciated the way the consistently implemented escapes. Sigh...

q.

7971
I dropped using that proprietary scripting source for transformations a long time ago. Instead I used scripting to programmatically transform whatever is needed. Of course you have a longer startup this way. But you likely don't end in a cul-de-sac this way.

q.

7972
Sooner or later you need to go that deep. But as Simon pointed out: check what EAPackage.Flags contains. You'll find a string like VICON=<val>; wher <val> is a number corresponding to the View type. My book also details such tidbits which are not explained in EA's help.

q.

7973
See Package Flags in chap. 9.8 of my Inside book.

q.

7974
No, unfortunately not. Happy counting  :D

q.

7975
Check UserImages.bmp in the EA program folder.

q.

7976
Automation Interface, Add-Ins and Tools / Re: toolbox bitmaps
« on: November 19, 2014, 09:30:23 pm »
Quote
Thanks, I dont know how the search didnt pick this up.
Likely because the Sparxian did put a lot of effort in making the search unusable. First there are THREE search possibilities on top of this very page. Only one will bring you to the right place. Being there (using the button top left) you need to extend the search to ALL.

q.

7978
Automation Interface, Add-Ins and Tools / Re: toolbox bitmaps
« on: November 17, 2014, 11:19:27 pm »
I remember this has been posted here by one of the Sparxians. Try a search while you wait  ;)

q.

7979
 ;D Yep. THAT was the description.

q.

7980
It has been described here by Sparxians. Try a search...

q.

Pages: 1 ... 530 531 [532] 533 534 ... 640