Results 1 to 4 of 4

Thread: why wont aacoreconsole open file or run scripts ?

  1. #1
    Login to Give a bone
    0

    Default why wont aacoreconsole open file or run scripts ?

    I am running Vanilla AutoCAD 2017
    The accoreconsole.exe will start but and show the example Screen and will appears to run commands, although i am unaware of a way to open a file directly from core console so i cant really do anything with it.

    Methods attempted
    1. Script Pro 2.0:
    From https://knowledge.autodesk.com/suppo...ion-tools.html
    Script pro executes scripts successfully when using AutoCAd But then Fails when i switch to Core Console
    It generates a log file that reads: Error while reading log file for C:\Users\Documents\TEST\ARCH01_FIRST FLOOR PLAN - AREA C.dwg

    2.Auto Lisp
    From AutoCAD using an Auto Lisp command i found on House of BIM. The command works and i tested several scripts which i first tested using the Run Script Button in AutoCad and they worked, but not when i used core console.

    /i core console flashes and then disappears
    /I core console opens a new file from the Qnew Template file path

    This seems to happen no matter whats after that in the lisp statement.

    Then OPEN command in core console doesn't return a prompt or an error, it just returns twice and does nothing.
    Typing in a file path generates an error
    This generated a Temp file called accc34642 which reads m_kernelList still has 1 entry

    3.Widows batch files
    I have only used one of these in the past successfully but i checked the ones i found a couple different websites and still no luck on getting the scripts to execute.
    I also tried all this from different File Paths

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: why wont aacoreconsole open file or run scripts ?

    The key thing to remember with core console is that there is no gui, no editor environment. So you can't do things like zoom and pan. Here is a an article on how to get started with core console. Note that there is a limited set of commands you can use. You'll want to read this list. Search Kean's blog for more info on core console.

    The reason OPEN didn't work for you is that you have to enter all the info at once. It won't prompt you for argument options like the acad editor command palette does. It works like windows cmd.exe works. You enter the command and all its arguments together. The multiple prompts you noticed, it was waiting for you to enter the filepath.
    Last edited by Ed Jobe; 2017-04-21 at 02:43 PM.
    C:> ED WORKING....


    LinkedIn

  3. #3
    Login to Give a bone
    0

    Default Re: why wont aacoreconsole open file or run scripts ?

    Thank you
    I apologize for my post being a bit long and rambling but i read getting started with core console and also have the available command list and i tried typing the arguments in from scratch as well as using script pro which fails but only when i use core console.
    I also tried auto lisp which activates core console but does not open the drawing specified in the argument.
    There is also the issue with it being case sensitive /i it flashes open and closes /I it opens a new file using the file path specified in my Qnew Template settings
    and the Temp File error.
    Temp file called accc34642 which reads m_kernelList still has 1 entry
    Have you heard of this kind of thing happening before ?

  4. #4
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: why wont aacoreconsole open file or run scripts ?

    What does your bat file look like?
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Acad LT run scripts on open
    By Tommy Kinard in forum AutoLISP
    Replies: 11
    Last Post: 2010-08-05, 07:31 PM
  2. DWG thinks its a MDT file and wont open
    By darthyoga in forum AutoCAD General
    Replies: 1
    Last Post: 2009-10-26, 02:41 AM
  3. File Wont Open
    By Dezi in forum Revit Structure - General
    Replies: 4
    Last Post: 2008-04-15, 08:43 PM
  4. Autocad wont open folders
    By Zukny1 in forum AutoCAD General
    Replies: 2
    Last Post: 2007-12-21, 02:15 PM
  5. Bizzare message, then file wont open??
    By Martin P in forum Revit Architecture - General
    Replies: 5
    Last Post: 2004-03-31, 02:18 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
  •