Visio Guy

Visio Discussions => General Visio => Topic started by: Visisthebest on May 04, 2021, 10:45:58 AM

Title: How do you do show the shapesheet of a Stencil's document?
Post by: Visisthebest on May 04, 2021, 10:45:58 AM
In the developer tab, there is the very handy Show Shapesheet function, but how do you do show the shapesheet of a Stencil's document? (a separate stencil you've opened)
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Paul Herber on May 04, 2021, 11:01:13 AM
The stencil doesn't have a shapesheet, there is nothing equivalent in a stencil.
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Visisthebest on May 04, 2021, 11:05:34 AM
The stencil is a Visio document object, so I expected it to also have a shapesheet :)
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Visisthebest on May 04, 2021, 12:10:14 PM
Paul you might be in for a surprise!

"Everything in Microsoft Visio, every document, page, style, shape, group, shape or object within a group, master, object from another program, guide, and guide point, has a ShapeSheet spreadsheet where information about that object is stored."

https://docs.microsoft.com/en-us/office/client-developer/visio/about-the-shapesheet-spreadsheet
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Paul Herber on May 04, 2021, 01:09:37 PM
Ok, yes, there is a shapesheet, but nothing useful. You can see this in a VSX format file (I've attached an example for those who can no longer save in VSX format).
There is the <DocumentSheet> section, then there is the <Masters> section.
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Visisthebest on May 04, 2021, 01:26:08 PM
Thank you Paul, but this does mean I can add User cells to the Stencil's shapesheet with some useful versioning data for instance (to avoid users loading older incompatible stencils for instance).

If it has a shapesheet I assume I can add a user section, hopefully.
Title: Re: How do you do show the shapesheet of a Stencil's document?
Post by: Paul Herber on May 04, 2021, 01:31:23 PM
P.S. you need to open it in a text editor like Notepad++.
https://notepad-plus-plus.org/ (https://notepad-plus-plus.org/)