2012

Table Of Contents
DescriptionAttribute
NOTE For AutoCAD startup performance
reasons, it is very important to use this op-
tion when your components define com-
mands.
LoadOnAutoCADStartup - (Only applies to
ObjectARX and .NET modules.). Load when
AutoCAD starts up. When specified, this parameter
has precedence over all other parameters. It is re-
commended only to use LoadOnAutoCADStartup
when none of the other parameters are suitable,
disable it (set it to False) whenever possible. If the
LoadOnAutoCADStartup parameter is omitted,
then it defaults to enabled (set to True) unless
LoadOnCommandInvocation is enabled, in which
case LoadOnAutoCADStartup defaults to False.
LoadOnProxyDetection. Load when a proxy for
a custom entity is detected. By default, this para-
meter is enabled unless explicitly disabled (set to
False). When enabled (set to True), LoadOnAuto-
CADStartup should be disabled. Only applies to
ObjectDBX files.
LoadOnAppearance. Load when the product
detects the application bundle in one of the Ap-
plicationPlugins folders, thereby supporting in-
stant load on installation with no need to restart
AutoCAD. The parameter behaves the same way
as LoadOnAutoCADStartup except the load con-
text is relevant to when an application is installed
while the product is running, for instance if in-
stalled via the Apps tab on Autodesk Exchange.
Commands and Command Element
The Commands element is optional unless the LoadOnCommandInvocation
parameter is enabled for the LoadReasons attribute. Used to specify which
commands to register for LoadOnCommandInvocation.
You can specify more than one Command element as needed.
460 | Chapter 7 Introduction to Programming Interfaces