how to import export custom blocks sketchware

 Sketchware pro custom blocks are the easiest way to do a complex operation without writing so long codes and without doing unnecessary research. In old time when sketchware original was working then everyone was using Moreblocks.

You can get a large collection of Moreblocks from this link.
Link:- coming soon on tha way



But now you can use a combination of Moreblocks and blocks for very good coding experience.
 So today I am going to tell you how to import and export sketchware custom blocks. 

So Hello coders,

There are two things in sketchware pro the first one is import and the second one is export. So you need to understand what they mean. 

Import Blocks
So block import means you have a json file of blocks and you install this json in sketchware and new blocks will appear in editor area. 

Export blocks
Export blocks means you have already installed blocks and you want to Share the blocks anywhere, so here when you click to export you will get a json file. 



How to export blocks
To export blocks you need to have two things the first one is sketchware pro and the second one is that you have pre installed custom blocks. 

Step 1

open sketchware, Click on three Lines and then click on developer tools.


Step 2

Click on Block manager option you'll find it on top. 



Step 3

A new activity will open and here you'll find a list of all your blocks menu. You need to click on the menu item you want to export.


Step 4

For example I want to export Lottie animations block then I'll click on Lottie.  And then click on three dots and then click on Export blocks.


You'll see a toast that Successfully exported blocks to /storage/emulated/0/.sketchware/resources/ block/export/ Lottie. json

You can locate this path and you'll get json file and you can share it to anyone and anywhere.



How to import Block File
Repeat the same process upto step 3 

Step 4

You will see a fab in bottom right side of blocks menu. Click on it.


Step 5

A dialogue box will appear To make new block menu item. Enter your desired name and choose your favourite colour. Then click on save.


Step 6

After click save you'll find a new menu item in the bottom of list. Click on it.


Step 7


Click on import blocks and then a file chooser dialog will appear.


Step 8

Select your json file and then click on select.



Step 9

A new dialog will appear which will show you list of Blocks. If you want to import onmly selected blocks then you can do it from here. And if you don't want to select blocks and you get confused them simply click on all button and all block will be imported.

Comments

Popular posts from this blog

Sketchware Generate Firebase Dynamic Link (Long Url To Short) | sketchware blocks explained

what is sketchware and history of sketchware

How to import local library in sketchware

Create HTML Dialog in Sketchware

Create Percentage loading bar in sketchware

Sketchware Generate Firebase Dynamic Link (Long Url To Short) | sketchware blocks explained

Android 10/11 Storage Permission sketchware | New blocks + method

Auto Get text from camera || OCR in sketchware || free project | Sketchware pro tutorial

Image filter moreblocks for making black and white imageview