PDA

View Full Version : ADT and Dictionaries


cadconcepts
2005-02-03, 04:44 AM
Hi Everyone -

Is there an easy way to remove the code that resides within a drawing that triggers the ADT modules to load? Does the trigger reside in a dictionary and if so, can I remove it without corrupting the drawing? Thanks in advance.

Manuel A. Ayala
CAD Concepts

kennet.sjoberg
2005-02-03, 07:48 AM
You can start with to set DEMANDLOAD to 0 or 2

0 Turns off demand-loading.
1 Demand-loads the source application when you open a drawing that contains custom objects. This setting does not demand-load the application when you invoke one of the application's commands.
2 Demand-loads the source application when you invoke one of the application's commands. This setting does not demand-load the application when you open a drawing that contains custom objects.
3 Demand-loads the source application when you open a drawing that contains custom objects or when you invoke one of the application's commands.

: ) Happy Computing !

kennet

cadconcepts
2005-02-04, 08:30 AM
Kennet

Do you know if the DEMANDLOAD system variable is stored in the registry and what it is called? Thanks.

Manuel

kennet.sjoberg
2005-02-04, 09:42 AM
Type: Integer
Saved in: Registry
Initial Value: 3

(getvar "DEMANDLOAD" ) ;; to check
(setvar "DEMANDLOAD" 2 ) ;; to set

or options => Tab [ Files ]
ObjectARX Application
Demand load ObjectARX apps:
.. and select
Disable load on demand ( 0 )
Custom object detect ( 1 )
Command invoke ( 2 )
Object detect and command invoke ( 3 )

: ) Happy Computing !

kennet