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

Pages: 1 2 [3]
31
I would like my Shape Scripts to print text in 1 among 3 different languages (English/Dutch/French) depending on the value of a global variable e.g. "Language". Note that a diagram stereotype is not global variable, it is particular to that diagram only.

Is there no other way than to write an add-in just to return a single global character "E/D/F"? :-/

Thanks
Alain

http://www.sparxsystems.com/enterprise_architect_user_guide/12/extending_uml_models/displaying_element_properties.html


32
For each diagram type that we create in an MDG, how can we define a custom icon that shows in the project browser?

In other words, how can we define new diagram icons than do not belong to the built-in diagram types?

Alain

33
Does anyone know where we can we find the shape scripts (or equivalent) used in the Archimate 2.0 profile, and especially fo the drawing of these little Archimate icons.
This is to create our own profile for Enterprise Architecture that would look like Archimate but that would have more semantics and meaningful verbs in the traceability pane.
Could be then shared if someone is interested.

34
Does anybody know how to change the folder/package icon in the project browser depending on the folder stereotype?
Thanks
Alain

35
Hello,

In the Sparx UI, when trying to change the value of the "Type" property of a Packaging Component, the system says "this type cannot be changed to another".

Does anybody knows how to automatically change all Packaging Components into Components (wtithout loosing all the relationships)?

Any available code or little app to perform this?

Thanks

Alain

36
Automation Interface, Add-Ins and Tools / Applying updates of a UML Profile
« on: December 19, 2011, 07:44:44 pm »
Hello,

When we update a UML profile, is there any way to avoid the existing tag values to be lost?

Even when we simply add a tag value in our profile, the existing tag values (in our huge model) get lost when we re-apply the profile.

Thanks

Alain

37
Hello,
Does anybody know how to disable Shape Scripts based on some diagram property or custom tag?

Basic Requirement
- Context: a specific diagram
- Default behavior: Shapes are rendered following shape scripts associated with stereotypes.
- Alternative behavior (when a diagram property or custom tag is set to X): Default shape rendering is applied; Shape scripts are ignored


Solutions that we are trying to select custom or default shape rendering in a diagram
1.      Use existing diagram option in the core Sparx product
      Problem: Option not found; no documentation found

2.      Access existing diagram properties from Shape Script
      Problem: How to access current diagram properties in a Shape Script? No documentation found

3.      Define custom diagram tags and access these from Shape Scripts
      Problem: No documentation found

Thanks

Alain

Pages: 1 2 [3]