Book a Demo

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

Pages: [1]
1
General Board / Re: Create/Extend Profile
« on: June 23, 2014, 10:54:47 pm »
Thank you again Simon,

this sounds like the last choice solution ;).
But if this is the only solution for my problem then this must work via an add-in.
I had a short look over the sdk reference, but found nothing suitable for catching events when a connector/element is created. (besides is there an online sdk reference?? I am not used to references in pdf)

So how do i get connector creation events? And also element creation events, because if i have to go this way i would prefer to handle the whole issue in the same way.

Thanks in advance
Dan

2
General Board / Re: Create/Extend Profile
« on: June 13, 2014, 10:50:22 pm »
Thank you Simon,

that was a very helpful hint and it worked great so far for Elements.
But unfortunately it does not work for connectors!
So is there a way to get this working for connectors too?

Edit:
And just to be sure it is not possible to extend the metaclasses itself through a profile(MDG Technology) or something?

3
General Board / Re: Create/Extend Profile
« on: June 11, 2014, 12:10:13 am »
Thanks qwerty,

i was thinking about that, but as mentioned i want to cover as much meta elements as possible, including connectors and (build in) stereotypes.
Building toolbox pages is a solution that needs a lot of effort while you have to redefine nearly every element including connectors and also all the additional values/properties. Moreover it is very hard to maintain in case of changes.

So i would prefer a solution where i can extend elements on meta level because i need these extra values on nearly all elements.
Is there any possibility?

4
General Board / Create/Extend Profile
« on: June 10, 2014, 05:32:53 pm »
Hey,

basically i want archive to extend every created element/stereotype and also connectors by a set of values/properties when they are created.

I tried to develop a stereotype like "baseStereotype" and extend all metaclasses and also some stereotypes like "SysML Block".

But this way i have to create Elements and then manually add the the "baseStereotype", which is a lot of effort and for me not a feasible solution.

So is there a (another) way to integrate it for example in the metaclass/build in types?

Another approach might be to develop/extend Toolbox pages to create Elements that have multiple stereotypes. (How) is this possible?

Thanks in advance
Dan

5
Bugs and Issues / Re: Information Items and Shape Script
« on: June 11, 2014, 12:44:46 am »
Hey,

did you manage to access the list of "Information Items Conveyed" via the script editor?

I would be interested in a way to access them by script or any other way

6
Quote

"Hidden elements" are just no present on the diagram :D Just delete them.

q.

Hey qwerty,

what does "no present" exactly mean?
The current Diagram Filters are using a such a functionality. Therefore there must be a function to hide elements.
So i guess this does mean that it can not be accessed from within the API? (This would be very annoying.)

To simply delete the elements from the diagram is no real option as i do not want to change the diagram itself. I just want to filter them to specific aspects. Also it would slow down the usability of a filter mechanism, as i want to switch quickly between the different diagram aspects.

This is very uncomfortable. Why is such a functionality available but not accessible. :-?

Anyway thank you for your answer

Greetings
Dan

7
Thank you Helmut,

surely this works for Fade and Grey scale so far,
but is there a specific style setting to hide Elements?

Greetings
Dan


8
Hey,

unfortunately the functions of the diagram filters are only capable to filter on theses few predefined values.
I need to filter diagrams towards tagged values.
For that reason i want to write own filter possibilities via an Add-In.
It seems that there is no access to the functionality the inbuilt diagram filter is already using... for whatever reason. (Maybe i just have not found the it yet?)

Something like grey scale or fade can however be archived via diagram object style i guess. But to hide elements is an essential requirement.

Connectors have a hide function so far, unfortunately i found no equivalent functions on other diagram elements.

Is there a possibility to access the diagram filter functionality?
If not, how do i hide diagram elements via API?

Thank you in advance.

9
Due to your suggestions to use an Add-In with EXEC_ADD_IN it would also be interesting to know how the code synchronization is affected.

Would it be possible to synchronize code generated in this way properly?
Or are there any side effects or something like that?

10
Hello,

thank you for the fast replies. This saves me a lot of time searching something that is not possible.

Greetings
Dan

11
Hey,

currently i am trying to create a source code generation template.

I have a Class composed of two sub Classes each sub Class with Ports.
Within the Composite Structure Diagram both ports are connected (via Information Flow).
Now i want to access the connector between these Ports.

I managed to find Ports as Property from Class, but thats it.
At the moment I struggle at getting any connections between Ports.

So my question is how can i archive this or is this even possible within a code generation template?

Any hint is helpful thank you in advance.

Greetings
Dan

Pages: [1]