Results 1 to 2 of 2

Thread: Insert Block error

  1. #1
    100 Club
    Join Date
    2011-08
    Location
    Vadodara, India
    Posts
    147
    Login to Give a bone
    0

    Default Insert Block error

    Hi!

    I want to insert block from specific location e.g. "X:\PEDSC\Designers\AUP\Shell Development\nb.dwg". This directory is added in support file search. I can insert block from insert command and type "nb" only it comes because I have added in support files search.

    While I inserted through VBA it will not insert and gives error and do exist without inserting of block.


    but when I write full path and name of block in VBA it will insert with error " Duplicate definition of block _Oblique ignored" in AutoCAD.


    BlockObj = Thiddrawing.InsertBlock(YNoz, "X:\PEDSC\Designers\AUP\Shell Development\nb.dwg", 1, 1, 1, 0) ==> give error duplicate definition or block

    BlockObj = Thiddrawing.InsertBlock(YNoz, "nb", 1, 1, 1, 0) ==> not inserted and program do exist.


    can you help me on this.

    Thanks,

    Avinash Patil

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

    Default Re: Insert Block error

    Please post your code and a sample dwg with the blocks in it so we can test it.
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Insert Block W/ attribute Error
    By mbrandt5 in forum AutoLISP
    Replies: 2
    Last Post: 2016-05-11, 04:37 PM
  2. help with dynamic block and insert reference error
    By cadmaster77 in forum Dynamic Blocks - Technical
    Replies: 3
    Last Post: 2015-05-14, 01:30 PM
  3. Replies: 2
    Last Post: 2006-11-21, 08:39 PM
  4. Replies: 6
    Last Post: 2006-07-24, 02:37 PM
  5. Block Insert Error
    By andrew.90224 in forum ACA General
    Replies: 3
    Last Post: 2006-03-28, 05:58 PM

Posting Permissions

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