How to get to your block from a drawing

Discussion in 'AutoCAD' started by v98_lnk, Aug 1, 2003.

  1. v98_lnk

    v98_lnk Guest

    Hello

    Im trying to get a specific block from one drawing and in to another

    This is what I have:
    One drawing with many blocks, the blocks are under “c:\….\Drawing.dwg/block”
    I want to get one block from the drawing (with all the blocks) and put it in another drawing.

    My question is how am I supposed to get the blocks from “Drawing/block”.

    This I know
    I can just open the drawing in designcenter and go to the drawing and click under block and there I have all the blocks, but I want to get them by using some kind of insert or some way not using the pointer.

    This way I get the drawing open, but now I have to use the mouse to get them in to the new drawing.
    (command "adcenter" "adcnavigate" (strcat profilpath "/BALKSKO TYP IL FRONT OCH SIDA.dwg/Blocks"))

    What I want to do is some kind of this:
    (command "insert" (strcat profilpath "/BALKSKO TYP IL FRONT OCH SIDA.dwg/Blocks/BMF TYP IL 115x223 FRONT"))

    where “bmf typ il 115x223 front” is the blockname of the block I want to have.

    Can this be done?
    thanks
     
    v98_lnk, Aug 1, 2003
    #1
  2. v98_lnk

    BillZ Guest

    If these are blocks that you are going to use in a lot of other drawings, then I would suggest that you create separate drawing files for each block. That way you can insert or xref the individual blocks into multiple other drawings. Makes thing a lot simpler. That way, when it come time to update or modify a block, you update the master file and then reinsert into the other drawings, or in the case of xrefs, the drawing will update the next time it is open.

    Bill
     
    BillZ, Aug 1, 2003
    #2
  3. v98_lnk

    v98_lnk Guest

    Hey

    That is a way to get around the problem, but it isn’t so good. There must be some way to do it more easily, because if you use your mouse its very simple. Just drag an drop. What i want to do is a lisp file where you can just click on what you want and the block will just appear.

    Hopping for some one to solve this…

    Fredrik
     
    v98_lnk, Aug 1, 2003
    #3
  4. v98_lnk

    James Buzbee Guest

    Do a search for "ObjectDBX" in this newsgroup - I have posted example code
    along with many others. If you can't find anything post back and I'll try to
    post some stuff - I'll be gone all weekend though - going to Sturgis.

    jb
     
    James Buzbee, Aug 1, 2003
    #4
  5. v98_lnk

    Murph Guest

    HEY that's not fair.
    ride safe play hard.

    Murph
     
    Murph, Aug 1, 2003
    #5
  6. v98_lnk

    James Buzbee Guest

    HEY that's not fair.
    Thanks Murph!

    Well, I'll come clean: I'm not going to Sturgis, South Dakota ;-(

    We have a mini Sturgis Rally here in Central Florida for all of us who can't
    go to the real Sturgis - that'd be a week out of my busy schedule, maybe
    next year.

    I'll definitely ride safe and play as hard as I can anyway . . ..

    see ya.
     
    James Buzbee, Aug 1, 2003
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.