Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: juan.drn on January 20, 2017, 01:27:40 am

Title: Some diagram are not exported.
Post by: juan.drn on January 20, 2017, 01:27:40 am
When I export some package (Not all) the diagram is not exported, I think I'm not give you enough details of the question, but ....what I need to send you to be more clearer.
Title: Re: Some diagram are not exported.
Post by: qwerty on January 20, 2017, 01:29:37 am
Check the diagram properties / General / Exclude Image (bottom center).

q.
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 20, 2017, 01:38:30 am
Is that option?

https://i.imgur.com/ImwbX6i.png (https://i.imgur.com/ImwbX6i.png)

It's unchecked.
Title: Re: Some diagram are not exported.
Post by: qwerty on January 20, 2017, 09:49:20 am
Yes, I meant that one. Is it the same diagrams all time that get not exported? Or is it some "random" ones which are missing?

q.
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 21, 2017, 01:23:38 am
It is the same diagrams all time, the first two diagram are showed, but the rest not

For example:
https://i.imgur.com/Q8eUZ60.png
Title: Re: Some diagram are not exported.
Post by: qwerty on January 21, 2017, 02:52:00 am
So one step back: how do you export the diagrams?

q.
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 21, 2017, 03:57:03 am
[Right click on model -> Documentation -> Generate Documentation] and show this form: https://i.imgur.com/qGIQu6u.png

Template and cover page are my custom template: ... How can I show you the the template file?....
Title: Re: Some diagram are not exported.
Post by: qwerty on January 21, 2017, 06:03:03 am
Hmm. What you can do is to run a consistency check: Project/Data Management/Project Integrity

If that does not help, you should contact Sparx support directly.

q.

P.S. to temporarily shape files you could use Dropbox. But I can't help here to much as I'm not using EA's doc gen too much.
Title: Re: Some diagram are not exported.
Post by: Nabil on January 23, 2017, 04:23:57 pm
Hello,

Is the diagrams you generate are same of types?

Kindly check Exclude Filter of your custom template have you excluded any type of diagrams?. If possible share it in a location and DM. I will help you to solve this.

BR
Nabil
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 24, 2017, 06:14:43 am
Ok, here is my template: https://drive.google.com/file/d/0B0SeqDy2BSmsUDYwbnJUU0d1eGs/view

Then, Integrity check is:
https://i.imgur.com/kVpfEJn.png

DM<--- What does this mean?
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 24, 2017, 06:58:34 am
There are not any filter selected... if you was refer to this
https://i.imgur.com/iCrDjgy.png

Title: Re: Some diagram are not exported.
Post by: qwerty on January 24, 2017, 09:26:27 am
Just let the integrity check run (despite the scary warnings it issues). I don't think those are the cause for your problems.

q.
Title: Re: Some diagram are not exported.
Post by: Nabil on January 24, 2017, 04:34:20 pm
Hello Juan,
You can fix
In your template uncheck the digram section and define it again.
First I tried the template you gave it doesnt work. Then it unchecked the diagram section and added only the {Diagram.DiagramImg} within diagram. Add the template generates the diagrams.

Redefine the diagram section will fix this. Hope this will solve the issue.

BR,
Nabil
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 25, 2017, 01:05:26 am
Yes, that fix the problem, but now I have another, see the picture please.

I can't delete: "[right-click-to-insert-Diagram-field(s)]"
https://i.imgur.com/SAhMv7c.png

I can't delete that line, The EA show an alert message that said "Text Protection Error".
https://i.imgur.com/sttQaEI.png

I could to generate the template again but this could take a long time with other type of templates, What is the cause of the problem? To solve this more quickly

BR,
Title: Re: Some diagram are not exported.
Post by: Eve on January 25, 2017, 08:49:17 am
Looks like the text protection (and font style) associated with the section markers has been applied to other text for some reason.

Look at http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/protect_document_contents.html (http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/protect_document_contents.html)

It describes how to add protection, but the process is identical to remove protection.
Title: Re: Some diagram are not exported.
Post by: Nabil on January 25, 2017, 04:34:53 pm
Juan,

A quick way to fix this is to create a new template and in the copy template dropdown choose the existing template.
Hope this is the only fix to do quick.

BR,
Nabil
Title: Re: Some diagram are not exported.
Post by: juan.drn on January 26, 2017, 02:26:23 am
Now the problem is fixed, I was able to delete the restriction from here (Picture for menu and evidence):

https://i.imgur.com/YjmL93b.png

Now all diagrams are exported!

Thanks all!
Title: Re: Some diagram are not exported.
Post by: skiwi on May 04, 2017, 12:26:30 pm
Now the problem is fixed, I was able to delete the restriction from here (Picture for menu and evidence):

https://i.imgur.com/YjmL93b.png (https://i.imgur.com/YjmL93b.png)

Now all diagrams are exported!

Thanks all!
And yes you can embed images so they are visible
(https://i.imgur.com/YjmL93b.png)