See the top rated post in this thread. Click here

Results 1 to 2 of 2

Thread: Load CUI file via script not working

  1. #1
    Member
    Join Date
    2007-02
    Posts
    23
    Login to Give a bone
    0

    Default Load CUI file via script not working

    I've got a situation that is giving me some problems.

    I have created a partial customization file with some additional pull-down menus for a few commands. When I have FILEDIA set to 1 and I load the file through the dialog box, it loads fine and the menus appear. When I have FILEDIA set to 0 and load the file through the command line, it works also. However, when I have the exact same lines in a script file and run it, it will load the partial customization file but will not show the menus. When I go in to "Manage - User Interface" and look at the cui files that are loaded, the loaded cui appears and the menus are shown in the proper section just like they are when it actually shows up in the Menu Bar.

    The text box after running the script file looks identical to what it looks like when typing the information in manually.

    I'm thinking this is a glitch in AutoCAD because I cannot figure out any reason for this to be happening. This is really frustrating. Any help would be greatly appreciated.

  2. #2
    Member
    Join Date
    2006-07
    Location
    Portland, OR
    Posts
    28
    Login to Give a bone
    1

    Default Re: Load CUI file via script not working

    Are your workspaces set up to include the new Menus?

    Also why would you need to be loading a partial cui file more than once?

Similar Threads

  1. 2013: Processor working load
    By clovis in forum Inventor - General
    Replies: 1
    Last Post: 2013-05-31, 05:40 AM
  2. ertransmitting script not working
    By JH75 in forum AutoCAD Customization
    Replies: 2
    Last Post: 2012-03-08, 10:29 PM
  3. .NET and Autocad. How to load script from .net app?
    By firavolla_moise in forum Dot Net API
    Replies: 5
    Last Post: 2011-11-01, 09:11 PM
  4. Script file does not work on one PC - Can't find file
    By jskripac in forum AutoCAD LT - General
    Replies: 2
    Last Post: 2006-06-06, 07:38 PM
  5. Replies: 1
    Last Post: 2005-08-13, 04:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •