-
For each Leanget type,
create one config.LEANGET_TYPE.xml file with the following syntax:
<?xml version="1.0" encoding="UTF-8"?>
<favorites>
<favorite key="value" key="value" key="value"/>
<favorite key="value" key="value" key="value"/>
<favorite key="value" key="value" key="value"/>
</favorites>
This syntax contains the following elements:
-
Send the file to the User, so that he uploads it to his workspace using the
Documents panel.
For more information, see Menus in
the 3DLean User's Guide.
The favorites now appear in the Customize
menu in 3DLean.
Example: Configuring Favorites for the Sketch Leanget
Create one config.Sketch.xml file with the following syntax:
<?xml version="1.0" encoding="UTF-8"?>
<favorites>
<favorite
V_DEL3DL_Title="My_Sketch"
V_DEL3DL_Thumbnail_Url="https://My_Thumbnail.png"
V_DEL3DL_Background_Image_Url="https://My_Image.png"
V_DEL3DL_Stretch="false"
V_DEL3DL_ToolBarHidden="false" />
<favorite
V_DEL3DL_Title="My_Sketch_2"
V_DEL3DL_Thumbnail_Url="https://My_Thumbnail_2.png"
V_DEL3DL_Background_Image_Url="https://My_Image_2.png"
V_DEL3DL_Stretch="true"
V_DEL3DL_ToolBarHidden="true" />
</favorites>
In this example, we configured two favorites for the Sketch Leanget:
- Favorite 1
- Is titled My_Sketch
- Has a thumbnail image:
My_Thumbnail.png
- Has a background image,
My_Image.png
, displayed at the center of
the Leanget
- Displays the sketch toolbar.
- Favorite 2
- Is titled My_Sketch_2
- Has a thumbnail image:
My_Thumbnail_2.png
- Has a background image,
My_Image_2.png
, stretched to fit the width
of the Leanget
- Does not display the sketch toolbar.