Search the Community
Showing results for tags 'block reference'.
Found 7 results
Make Block Reference Names Unqiue
wef posted a topic in AutoLISP, Visual LISP & DCLHello, I was getting a drawing that I have to modify. The problem is, that in this drawing are several block references with the name. I.e. I have about 100 block references calling "WcLux" . Is there a possibility to make the name of the block reference unique with a script: WcLux_1, WcLux2, ... WcLux100 Thx Frank
Closest point on a polyline from a block reference
jes_g posted a topic in AutoLISP, Visual LISP & DCLHello, there, I am trying to find a LISP routine which will find the closest point on a polyline from a selected block reference. This routine finds the closest distance between two objects by selecting both objects, but it does not seem to work with block reference. After it finds the closest point, how to create a new vertex on that point? Thank you in advance Best wishes, Jes G
Block Reference Itself, batch fix
robbt posted a topic in AutoCAD Drawing Management & OutputI have recently downloads a pile of files, blocks for inserting, symbols. Apparently all files have block in them of the same name of the file name. Thus, upon inserting a file I get the error "block reference itself" and will not insert. Is there a means of removing the block in the file in a batch method? Since there is over 8700 blocks, I do not want to open each file, explode, purge, save, individually. Looking for a batch method that basically does the same thing. Or some other method to not only remove the error, but also to avoid the purging nested block on layer problems.
Pasteclip is pasting everything as a block reference
aosp posted a topic in AutoCAD Bugs, Error Messages & QuirksI'm using AutoCAD 2015 on a 2D drawing, and usually use CTRL-C and CTRL-V for my copying. Today, for some reason, everything I copyclip and pasteclip comes out as a block reference. It happened first with a single-segment polyline, then I tried a few other objects - dtext, rectangle, closed polyline. Same thing. The regular copy command still works fine, however. Anyone have any idea what's going on? Is this a setting I inadvertently changed, or a bug? Also, this is a file I've been working in regularly for a year, and it's just today that I saw this problem for the first time.
Updating block references.
SAFeSTeR posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceOk so here's the situation... I have approx 150 files all with multiple layouts, each layout containing a legend block that needs updating. I edited the existing block and used WBLOCK to save it out ready for use in the other drawings. When I try to insert it into another drawing it gives me 2 options: 1. 'Redefine block - All block references will be updated'. 2. 'Don't redefine block'. When I try option 1 I cannot insert the block, I get this response and nothing gets updated: Block Notes_Block references itself Regenerating layout. Regenerating model. *Invalid* When I try option 2 it allows me to insert the block but it is this one that gets updated from the existing block in the drawing. I have even tried opening the block.dwg copy / pasting it but I get the same result... I really need some help with this because I need to get all these drawings updated today and doing each one manually will just take way too long. What am I doing wrong? Thanks in advance.
How to make double clicking on a Block to open the in-place editor
petsagouris posted a topic in AutoLISP, Visual LISP & DCLI have followed the article about Using the In-Place Block Editor (REFEDIT) and I now need the macro to press the "Ok" on the Refedit confirmation dialog automatically. How would I go about that?
Block Reference ID
kykuit posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceHi all, new here! I need some help creating and displaying unique IDs for all of my block references in a drawing. I'm self-taught CAD and self taught Filemaker and now I'm trying to figure out how to get the two to work together (I think I can, I think I can). My database is tracking trees and the CAD drawing locates those trees but I need a unique ID that can help translate information between formats. I have set up blocks with attributes and successfully extracted data into filemaker but I can't figure out how to get CAD to create and display a unique ID for each block reference. I can extract the "handles" of the references but I can't display those on the drawing. Any thoughts?