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 - Geert Bellekens

Pages: 1 2 [3] 4 5 ... 512
31
Use left join instead of inner join.

Geert

32
Try this.
Code: [Select]
select a.ea_guid as CLASSGUID,'Attribute' as CLASSTYPE,class.name as Class, class.Note as [Class Description], a.name as Attribute, a.Type,
tv.Property as TagName, tv.VALUE as TagValue,
package.name as [Package Name] ,package_p1.name as [Package level -1],package_p2.name as [Package level -2],package_p3.name as [Package level -3]
from ((((((t_attribute  a
inner join t_object class on a.object_id = class.object_id)
inner join t_attributetag tv on tv.ElementID = a.ID)
inner join t_package package on class.package_id = package.package_id)
left join t_package package_p1 on package_p1.package_id = package.parent_id)
left join t_package package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package package_p3 on package_p3.package_id = package_p2.parent_id)
where a.Name like '#WC#<Search Term>#WC#'
You only need to join t_attributetag to get to the tagged values.

Geert

33
Markus,

1. Check EA.Element.Type
2. Set EA.Element.PackageID to the id of the package you want to move the element to. Don't forget to call update after changing anything or your changes won't be saved.

Geert

34
It's one of the general settings.
You can choose whether to include the frame in printed, saved, or copied diagrams.

Geert

35
Do you still have a "main" call in your script?
That would explain this behavior.

The function would indeed be executed twice. Once when loading the script (evaluating a script actually executes it) and once when running the report.

Geert

36
Uml Process / Re: Class Attributes: How can I delete the {...} field?
« on: October 28, 2017, 02:54:29 pm »
Click on the multiplicity [..] and unselect "Allow Duplicates"

Geert

37
I think adding a section break should solve that.

But you do have a strange requirement. Why would you want to change header/footer in the middle of the document?
Usually it is the other way around.

Geert

38
I guess "for an amount of money" is missing Geert's statement ;-)

q.
Got to feed my hungry kids somehow ;D

Geert

39
Have you set the RTF template tagged value on the virtual document?
That should be left empty

Geert

40
General Board / Re: Swimlines attribute
« on: October 26, 2017, 04:29:40 pm »
Hi,

Is there an attribute that represents the swimlines attribute of an element?

I'm sorry, that makes no sense at all to me. :-\

Geert

41
If you can't find it, I could make it for you  :)

Geert

42
I'm afraid the discussions are not exposed in the API. (send in a feature request?)
In that case the only way to get them (short term) is to query the database directly.

You can use Repository.SQLQuery()

Geert

43
General Board / Re: Updating 11.1 to 13.5 -- any gotchas?
« on: October 25, 2017, 08:04:12 pm »
I haven't noticed any breaking changes, but I wouldn't know about the cloud or visio import.

Geert

44
Can you give some more information on what you are stuck with?

I'm sure you are not expecting someone else to do your work right?

Geert

45
I'm not sure about the clipboard.
Most solutions I found included an ugly workaround using Internet Explorer (of all things)

But have you tried getting the contents from the Word API directly?
That way you wouldn't have to hijack the clipboard. I hate it when applications put something on the clipboard and overwrite whatever I had copied.

Geert

Pages: 1 2 [3] 4 5 ... 512