Results 1 to 2 of 2

Thread: Custom Insert button with Script causes Fatal Error

  1. #1
    Member AutoTAD's Avatar
    Join Date
    2003-05
    Location
    Lebanon, Ohio
    Posts
    26
    Login to Give a bone
    0

    Unhappy Custom Insert button with Script causes Fatal Error

    Greetings,
    I have a custom pull down menu pick that handles inserting titleblocks for me. Below is the macro.

    ^c^cscript BDRLAYER;-insert;c:/_cad/borders/cintas34x44;0,0;1;1;0

    If you are wondering what the script is it merely creates the Border layer, see code below.
    -layer
    m
    BORDER
    c
    7

    LW
    .35

    S
    BORDER

    When i pick the button the script executes and makes the layer. the insert command starts and it finds the block. However it appears to stop when it reaches the scale factors and then gives me a FATAL ERROR and AutoCAD wants to close. It is repeatable and I can make it happen every time.
    Any suggestions from the group? I am running AutoCAD 2007.
    Thanks,

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Question Re: Custom Insert button with Script causes Fatal Error

    Hi

    Does the following work...

    Code:
    ^C^C._-Layer;_M;Border;_C;7;;_LW;0.35;;_S;Border;;._-Insert;C:/_cad/borders/cintas34x44.dwg;0,0;1;1;0;
    Have a good one, Mike

Similar Threads

  1. 2012: Revit mep: Export to dwg fatal error. Sync fatal error as well
    By Scottybill in forum Revit MEP - General
    Replies: 5
    Last Post: 2012-11-30, 09:47 PM
  2. Fatal error when user right clicks osnap button
    By GreyHippo in forum AutoCAD General
    Replies: 2
    Last Post: 2010-09-24, 01:27 AM
  3. Fatal Error Saving Custom Workspace
    By markley in forum AutoCAD CUI Menus
    Replies: 9
    Last Post: 2009-10-14, 06:03 PM
  4. Custom paper size - fatal error
    By Clarence Worley in forum AutoCAD Plotting
    Replies: 1
    Last Post: 2008-06-03, 04:48 PM
  5. Replies: 2
    Last Post: 2005-11-04, 01:46 AM

Posting Permissions

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