Author Topic: MNL loaded twice.  (Read 2866 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
MNL loaded twice.
« on: January 31, 2014, 09:56:56 AM »
Hi guys,...

maybe I'm wrong or there is something weird on my settings...
but I've noted that all MNL files are loaded twice.

I put this code in acad.mnl and some custom.mnl files.

(if (not ordre) (setq ordre 0))
(alert (strcat "your filename.your extension    " (itoa (setq ordre (1+ ordre)))))




the order of Loading files when open AutoCAD is:

1 - ACAD.mnl
2 - all custum mnl files...
...

5 - ACAD.lsp
6 - ACADDOC.lsp
7 - all custum mnl files...
...

11 - all other custom vlx and lsp files...

can any one confirm that ?
Keep smile...

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: MNL loaded twice.
« Reply #1 on: January 31, 2014, 10:51:25 AM »
What happens if you switch workspaces?  Another MNL load?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Andrea

  • Water Moccasin
  • Posts: 2372
Re: MNL loaded twice.
« Reply #2 on: January 31, 2014, 10:57:55 AM »
What happens if you switch workspaces?  Another MNL load?

I don't think the Workspace interfer to the file loading order..
but I'll test...
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: MNL loaded twice.
« Reply #3 on: January 31, 2014, 11:00:20 AM »
well,..

no diffrence,..any workspace,...any profile....
also,....basic installation do same think without any custom settings.
Keep smile...

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: MNL loaded twice.
« Reply #4 on: January 31, 2014, 02:45:43 PM »
I have noticed this issue with Briscad, but never in Acad.  I always unload a menu file before loading it, just to prevent this type of issue.

In Briscad when loaded multiple times it shows up on menu-bar for each instance.

Bruce

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: MNL loaded twice.
« Reply #5 on: January 31, 2014, 04:04:44 PM »
well,..

no diffrence,..any workspace,...any profile....
also,....basic installation do same think without any custom settings.

The question wasn't related to an issue with the workspace, but rather to see if changing between workspaces causes a reload.  If that's true, then what could be happening at start-up is the first load is AutoCAD starting with the last available workspace, then it sets the workspace active as part of document start-up.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: MNL loaded twice.
« Reply #6 on: February 02, 2014, 05:04:16 AM »
can any one confirm that ?
this happens only  when you start autocad or every time you open a dwg ?

Andrea

  • Water Moccasin
  • Posts: 2372
Re: MNL loaded twice.
« Reply #7 on: February 02, 2014, 10:03:12 AM »
can any one confirm that ?
this happens only  when you start autocad or every time you open a dwg ?

yes,..mnl files are loaded each time a new drawing is created or opened..  :wink:
However,...after many tests,..this issue is present only with AutoCAD Network license....
So now it seem to be an AutoCAD issue for me...Otherwise,....don't know how that's happen.. :pissed:

Is some of you may confirm that, I'll report that to Autodesk,...just knowing their feedback.
thank you guys,.
Keep smile...

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: MNL loaded twice.
« Reply #8 on: February 02, 2014, 12:22:25 PM »
I do not have AutoCAD with Network license, this only happens with some versions of AutoCAD and only at startup, this is 2013 Mechanical version (Vanilla profile):
Code: [Select]
Il file di personalizzazione è stato caricato senza problemi. Gruppo di personalizzazione: ACAD
Il file di personalizzazione è stato caricato senza problemi. Gruppo di personalizzazione: ALIAS_CONCEPT
Rigenerazione layout in corso.
_cuiunload
Digitare nome di un gruppo di personalizzazione da scaricare:ALIAS_CONCEPT
File di personalizzazione scaricato senza problemi. Gruppo di personalizzazione: ALIAS_CONCEPT

_cuiload c:\program files\autodesk\applicationplugins\sbd.bundle\contents\aalsbin\it-IT\AliasConcept.cuix
Il file di personalizzazione è stato caricato senza problemi. Gruppo di personalizzazione: ALIAS_CONCEPT

_wscurrent
Il file di personalizzazione è stato caricato senza problemi. Gruppo di personalizzazione: ACAD
Il file di personalizzazione è stato caricato senza problemi. Gruppo di personalizzazione: ALIAS_CONCEPT

Caricamento delle utilità dei menu di AutoCAD avvenuto.

Crank

  • Water Moccasin
  • Posts: 1503
Re: MNL loaded twice.
« Reply #9 on: February 02, 2014, 12:42:12 PM »
I'm seeing the same thing. It's not only the .mnl, but almost all .cuix-files are loaded twice. It looks like this has something to do with .bundles (see attachement).
I've tried to unload the .cuix-files of the .bundles, but the next time they are added inmediately again  (even if the CUIX isn't stored in the profile :realmad: )

Right now this isn't a big issue, since this PC is only used for development. On our network the problem doesn't occur. :)
Vault Professional 2023     +     AEC Collection

Andrea

  • Water Moccasin
  • Posts: 2372
Re: MNL loaded twice.
« Reply #10 on: February 02, 2014, 01:19:40 PM »
thank you Guys,..

Not a Big Issue,..but just sharing information about it..
because some client tool use acad.lsp and/or acaddoc.lsp and then set some variable in there...
so when the mnl is loaded,..these variable are reset twice.

 :whistle:
Keep smile...