I'm not certain to uderstand what you mean with: "a sub can load automaticlly when autocad open".
if you want some code to be run at startup, see the IExtensionApplication interface.
Implements IExtensionApplication Public Sub Initialize() Implements IExtensionApplication.Initialize MsgBox("Initialize") End Sub
i found my solution
but the terminate sub doesn't work
Public Sub Terminate() Implements IExtensionApplication.Terminate MsgBox("Terminate") End Sub
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register