We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
11-17-2022 03:19 AM
Hello
One topic I have is there during library creation of an object, when I input library information, the item 'Library categories' should be selected. The issue is that I want to create a new category name, but it cannot be typed, only can be imported from two options, one is from other library, the other is from the decription file. Would you like to share the template file of description with short instruction? thank you~
Solved! Go to Solution.
11-17-2022 05:41 AM
You will need something like this:
<?xml version="1.0" encoding="utf-8"?>
<LibraryCategories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LibraryCategories.xsd">
<LibraryCategory>
<Id>00000000-0000-0000-0000-000000000000</Id>
<Version>1.0.0.0</Version>
<DefaultName>CatogryName</DefaultName>
</LibraryCategory>
</LibraryCategories>
Put it into a FileName.libcat.xml file and you should be able to load it in the dialog for the category selection. Replace the zeroes with a random GUID and the CategoryName with the name that you want to have in TwinCAT.
Be careful about creating libraries with different categories. If you proliferate them too much, then users of your libraries will get a mess in their TwinCAT library manager.
11-17-2022 06:44 AM
Thank you very much~😁