Author Topic: Sharing space for Visio Shape  (Read 5564 times)

0 Members and 1 Guest are viewing this topic.

Yacine

  • Hero Member
  • *****
  • Posts: 2991
Re: Sharing space for Visio Shape
« Reply #45 on: June 07, 2022, 02:01:36 AM »
Nice navigator more or less what Visisthebest was trying to do. Can you elaborate on your graphics?
Yacine

Surrogate

  • Hero Member
  • *****
  • Posts: 1630
    • ShapeSheet™ Knowledge Base
Re: Sharing space for Visio Shape
« Reply #46 on: June 07, 2022, 03:30:09 AM »
Can you elaborate on your graphics?
This graphics is not mine, Croc do it  :o

Croc

  • Sr. Member
  • ****
  • Posts: 329
    • Visioport
Re: Sharing space for Visio Shape
« Reply #47 on: June 07, 2022, 04:44:35 AM »
Quote
Can you elaborate on your graphics?
The basis of the graphics is the "sector" master shape, which contains 6 User-defined Cells for customization.
The data source is a CSV file, which is obtained as a result of exporting from the database.
To create graphics, I use the ThisDocument.CommonTask macro. The macro clears the document, reads the data file, creates graphics in the form of a set of "sector" shapes, saves the document using VisSaveAsWeb.
VisSaveAsWeb creates many files, but only three of them need to be uploaded to the site. These are png_1.png, png_1.js and png_1.htm (after a little search and replace).
I am attaching the files Wheel.vsd and wheel.csv for those who want to learn more about the process of creating and preparing graphics for export via FTP.