View Full Version : change elevation in dynamic block
cynwalker
24-05-2007, 04:24 PM
Hi,
Someone sent me a drawing with points (drill holes) as a dynamic block. The block should have an x, y, z and a name. In this block the z is shown (as a label (?) and the physical elevation of the block is 0. Is there a way to put the z where it should be so I can extract this data?
Cad64
03-06-2007, 05:10 PM
Can you post the drawing, or at least a screen shot of the block? I'm not quite sure what you're asking? :confused:
cynwalker
04-06-2007, 03:13 PM
I think I have attached the drawing which contains the block. I have saved it to ACAD 2004 but it was created in, and I am using, 2007.
Cad64
04-06-2007, 04:09 PM
No, the file isn't attached. Did you use the "Manage Attachments" button below? You will need to put the drawing into a zip file and then attach that. You can't upload .dwg files directly. Also, make sure your zip file is under 4.77 MB.
cynwalker
04-06-2007, 05:02 PM
Ok This is zipped so maybe it will work.
Cad64
04-06-2007, 05:26 PM
Ok, I've opened your drawing and had a look.
First things first, there are no dynamic blocks in this drawing. All of the individual point markers are contained inside one big standard block. You can Explode this big block to free all of the markers inside. Each marker is it's own standard block which you should be able to extract information from, or move to whatever Z elevation it needs to be. The layer names look like they are in Spanish, so I don't know what they are, and I'm not sure what the numbers in the point markers represent? Is one of the numbers supposed to be a Z value? The current Z position of the big block is -6.3358, so it is not at 0. I guess you will need to provide more information about this drawing and what exactly you are trying to do with it. :confused:
cynwalker
04-06-2007, 09:16 PM
So, the individual blocks each show the name of the drillhole (i.e., PM-284), the elevation that the point should be at (4208.38) and then the number at the top in yellow is something I think is generated by the block(?). When I explode this block the name of the block gets changed to "*U284" and I can't seem to extract the name of drillhole, only the name of the blocks. Originally I thought when I exploded them they would go to an x, y and z and have a name attribute which I could extract. I needed them to be -6.3358 below where they were so that is why z=-6.3358 instead of 0. Maybe there was a way to have the point elevation be displayed and for some reason the point wasn't placed at that elevation also. I don't know, blocks used to be so easy and useful.
CarLB
05-06-2007, 01:32 AM
I find that after exploding the block, you are left with individual anonymous blocks (name is preferenced with "*U" then a number). This generally means the blocks were created by a lisp routine, or some add-on program. The data in these blocks could be read from the block table, using lisp (or maybe other programming language). The anonymous blocks are made using mtext for the data, as you can tell by exploding them.
So, a routine could be made to read the blocks. But it may be less effort to have the person creating the point data output it in a more user-friendly form.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.