Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Importing complex visio stencils (Read 2776 times)
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Importing complex visio stencils
Jul 25th, 2016 at 10:56am
Print Post  
Hi,

currently I try to import complex visio shapes which consist of serveral sub-shapes. I use the import functionality from the VisioStencil tutorial. Nevertheless, the resulting shapes don't look nearly the same as in Visio. I saw that the shapes that are used in the tutorial (from Country.vsx) only consist of 1 shape(the whole image) and wanted to know if I have done anything wrong or the import only works with simple VisioShapes like the ones used in the VisioStencil-Project.

I have added pictures of the shapes as attachment.

Thank you,

Cyrinael
  

Visio.png ( 1 KB | 78 Downloads )
Visio.png
Mindfusion.PNG ( 0 KB | 74 Downloads )
Mindfusion.PNG
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Importing complex visio stencils
Reply #1 - Jul 27th, 2016 at 12:23pm
Print Post  
VisioNode draws all shapes from the master -

Code
Select All
foreach (var shape in content.Master.Shapes)
    DrawShape(graphics, options, shape, bounds); 



DrawShape also recursively draws embedded shapes. It might not be showing same results as in Visio if there are some special constants or variables used in the shape formulas - these aren't documented usually and we must implement by guess-work. Please attach the stencil file and our developer will check it.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Re: Importing complex visio stencils
Reply #2 - Aug 3rd, 2016 at 8:34am
Print Post  
Hi Slavcho,

unfortunately we have 1000+ stencils, which contain a lot of formulas and calulations. We have decided to only show the Icon of the Stencil, instead of using the master's shapes.

Thank you,

Cyrinael
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Importing complex visio stencils
Reply #3 - Aug 3rd, 2016 at 10:04am
Print Post  
Send us a couple to inspect anyway? If you get them from same source, they could all contain some common feature we've omitted to implement.
  
Back to top
 
IP Logged
 
Cyrinael
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 42
Joined: Jul 22nd, 2016
Re: Importing complex visio stencils
Reply #4 - Aug 3rd, 2016 at 12:02pm
Print Post  
Hi Slavcho,

is there a way to send the files via E-Mail?

Thank you,

Cyrinael
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Importing complex visio stencils
Reply #5 - Aug 3rd, 2016 at 12:28pm
Print Post  
Yes, please send them to support@mindfusion.eu email address.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint