RuntimeRequirements Element

 
 
 

The RuntimeRequirements element is recommended and is used to control which operating systems, platforms, releases, and languages the components can be used with.

It is also used to define AutoCAD support paths that are required for components in that Components section. You can specify as may sets of components as needed. If not included, it is assumed that all components are compatible with all AutoCAD and AutoCAD-based products, releases, and operating systems.

NoteAlthough this element is optional, it is possible that the plug-in might be installed on Mac OS X or another system that the plug-in was not originally tested on. Therefore, it is recommended that the element is used to control when the plug-in can be loaded.

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")

NoteAutoLISP applications 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:

  • ACADE - AutoCAD Electrical
  • ACADM - AutoCAD Mechanical
  • ACLT - AutoCAD LT
  • ADT - Architectural Desktop
  • AIP - Inventor Professional
  • AIPRS - Inventor Professional for Routed Systems
  • AIPSIM - Inventor Professional for Simulation
  • AIS - Inventor Series
  • AOEM - AutoCAD OEM
  • AutoCAD - AutoCAD
  • AutoCAD* - All AutoCAD-based products
  • Civil - Autodesk Civil
  • Civil3D - Autodesk Civil 3D
  • LDT - Land Desktop
  • Map - AutoCAD Map 3D
  • MEP - AutoCAD MEP
  • Plant3D - AutoCAD Plant 3D
  • PNID - AutoCAD P & ID - 2D

SeriesMin

Defines the minimum AutoCAD release number the set of components supports.

The value can be a major version number (R19) or a specific version (R18.2). 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. See Supported Locale Codes for a full list of supported locale codes.