News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

How can I import this XML shape file please?

Started by Brit-in-Switzerlanmd, June 10, 2024, 08:18:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brit-in-Switzerlanmd

Hi all, moderately experienced Visio user here, but I need help please!

I'm designing the electrical system for our camper conversion. I've decided I want to use "Victron" components. Victron do not offer any Visio shape libraries - no idea why not!

I found a xml file contributed by a user and have tried everything to import this and get a shape library. No success!

The file seems to be either compiled or encrypted, or I'm simply doing something wrong! It's too big to upload here and xml files are not allowed, but here are the first few and last few lines.

Can anyone guide me step by step please? What should the extension of the XML file to be imported be please?

First few characters of the file that I found...
<mxlibrary>[{"xml":"jLvVsuzKsjb2NPvWIYZLMTPrTszM/fSWxtz

Several thousand similar lines later:
3ca+C19P/7tmUb5vpt9huGNvwA=","w":65,"h":166.2,"aspect":"fixed","title":"Windmill"}]</mxlibrary>

wapperdude

#1
How many parts (shapes) do you need?  Have you considered creating your own? 

If you want photorealistic shape or have an image you'd like use, see this technique by VisioGuy:  Neat Tidy shapes
Visio 2019 Pro

Yacine

You could use a cloud service for sharing bigger files (Google drive, ...)
Yacine

Surrogate

#3
Quote from: Brit-in-Switzerlanmd on June 10, 2024, 08:18:01 PMFirst few characters of the file that I found...
<mxlibrary>[{"xml":"jLvVsuzKsjb2NPvWIYZLMTPrTszM/fSWxtz
It looks like as draw.io objects, not Visio native!
Quote from: draw.io docs article [url="https://www.drawio.com/doc/faq/format-custom-shape-libraryFile format for custom shape libraries[/url]"]A custom library file is an XML file, which must have an enclosing <mxlibrary> node containing a JSON array and follow a specific format.
It is zipped base64 xml.


Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 219 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1090KB.
Tokens: post-login.
Cache hits: 13: 0.00155s for 26,721 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]