The RuntimeRequirements element is recommended and is used to control which operating systems, platforms, releases, and languages the ApplicationPackage, Components, and ComponentEntry elements apply to.
If the element is not included, it is assumed that all components are compatible with all AutoCAD and AutoCAD-based products, releases, and operating systems.
A RuntimeRequirements element can have any of the following attributes attached to it:
Attribute |
Description |
---|---|
OS |
Target operating system. Supported values are ‘Mac’, ‘Win32’, or ‘Win64’. If omitted, it is assumed the plug-in supports all operating systems. Multiple operating systems can be specified by separating the values with the '|' symbol. (e.g. OS="Win32|Win64") Note: AutoLISP applications, .NET applications, and CUIx files can be used across multiple operating systems.
|
Platform |
Target AutoCAD or AutoCAD-based products. Should be used when using APIs specific to one of the AutoCAD-based products that might not available in AutoCAD or other AutoCAD-based products. Multiple AutoCAD platforms can be specified by separating the values with the '|' symbol. Valid values are:
|
SeriesMin |
Defines the minimum AutoCAD release number the set of components supports. The value can be a major version number (R20) or a specific version (R20.1). The AutoCAD version number can be found in the Windows Registry or obtained with the ACADVER system variable. If this attribute and SeriesMax are not specified, it is assumed all components are compatible with all AutoCAD releases. If you omit this value, any version before that specified by the SeriesMax attribute is allowed. |
SeriesMax |
Defines the maximum AutoCAD release number the set of components supports. If you omit this value, any version after that specified by the SeriesMin attribute is allowed. |
SupportPath |
List of support paths used by this set of components separated by a semicolon. The support paths should be relative to the plug-in bundle. Localized support paths can be specified by combining SupportPath with a locale code. |
ToolPalettePath |
List of tool palette paths used by this set of components separated by a semicolon. The tool palette paths should be relative to the plug-in bundle. Localized tool palette paths can be specified by combining ToolPalettePath with a locale code. |