To create the .JSON file for a content library
The "ContentPack.json" file contains basic information about the whole content library. Here is an example:
#### language = xml
{
"key": "CHN",
"name": "Chinese Country Kit",
"author": "Autodesk Inc.",
"description": "Contains road styles according to Chinese standards",
"version": "1.0.0.0"
}
- The 'key' field is very important. It is the unique identifier for your content package, in string format.
- The name should be a meaningful title for your content. The name will be displayed to users by InfraWorks, e.g., when content packages are missing and not yet installed.
- The author could be a company, a group, or a set of names.
- The description should briefly contain what kind of content the package is providing.
- The version information, together with the key, is used to check for updates.
- Note that if content packages are outdated, you will not be able to open dependent models anymore, until you updated your the JSON for the content library accordingly.