Author Topic: All Sandrila symbols show as one item in the legend Visio 2007  (Read 3651 times)

0 Members and 1 Guest are viewing this topic.

bernny

  • Newbie
  • *
  • Posts: 1
All Sandrila symbols show as one item in the legend Visio 2007
« on: February 07, 2012, 03:57:47 AM »
Hi Paul,

I bought the Sandrila Electrical few days ago. when I tried to put a legend table in my drawing, no matter what symbol I dropped in the drawing, they have all been counted as the first symbol that I dropped. Could you explain what had happened and what I can do to fix it?

Also, the symbols keeps the same size no matter what the drawing's scale is, which means that I have to adjust every single symbol every time when I want to use it. this is very annoying. Is there a way to have the shape change it's size automatically according to the scale of the drawing?

thanks in advance. looking forward to your answer!

Bernny

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2741
    • Paul Herber's website
Re: All Sandrila symbols show as one item in the legend Visio 2007
« Reply #1 on: February 07, 2012, 05:22:45 AM »
Hmmm, I've just done some investigating and it looks like either a bug or purposeful functionality in the legend addon.
The addon appears to choke on any shape that doesn't already have a User-defined section in the shape's internal data (visible from the shapesheet editor). It's not consistent though. Deleting the legend shape, then adding a new one should restore all the shape counts, but some counts go *way* off.

Scaling: well I've tried the shapes and they seem to work in exactly the same way as the built-in electrical shapes and others. Can you tell me more about what you are doing?

P.S. try scaling a drawing with a legend shape on it - now - that goes very wrong.
But, scaling is for architecrural drawings and stuff like that so I don't see a problem with it.

« Last Edit: February 07, 2012, 08:25:59 AM by Paul Herber »
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2741
    • Paul Herber's website
Re: All Sandrila symbols show as one item in the legend Visio 2007
« Reply #2 on: February 07, 2012, 08:10:36 AM »
Right, well, with the legend it appears that the legend add-on uses the master.baseID property, not the master.Name or master.NameU to identify the shape. So, if one master has been created by copying and modifying another then both have the same BaseID. This is how many of my shapes were created.
This is why there are several reports of the legend addon doing strange things, sometimes. It relies on a poorly documented feature (well, it's not at all obvious is it).
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2741
    • Paul Herber's website
Re: All Sandrila symbols show as one item in the legend Visio 2007
« Reply #3 on: February 14, 2012, 08:47:10 AM »
All shapes have now been adjusted to include a unique BaseID.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

http://www.paulherber.co.uk/