1

(所有数字都不是实际尺寸)

我在autocad中有一个宽度:8000mm和高度:8000mm的图像,当我在图像中间插入一个块而不是块的X和Y为(4000,4000)时,它们类似于(560,560)。即使当我移动块时,X 和 Y 仍然是相同的。我不知道为什么?!

我做了一些研究,我看到那里的一些人说有时块的坐标系与图片本身不同。

你能告诉我我怎么能弄清楚这个,所以我可以得到块的 X 和 Y 为(4000,4000)?

最好的问候, 迪米塔尔·格奥尔基耶夫

4

1 回答 1

3

The X and Y coordinates (or the origin) of your BLOCK entity don't have anything to do with where the BLOCK is placed in your drawing.

When you insert a BLOCK into a drawing, you are actually doing a couple of things.

First, AutoCAD creates an entry in the TABLE that is used to hold BLOCK_RECORD objects. The BLOCK_RECORD that is created will have a handle that references the geometry of the BLOCK that has just been inserted.

This handle is then used in the BLOCKS section. This section contains the BLOCK entities that define the geometry contained in the BLOCK itself. One of the first entries in the BLOCK entity is a set of X and Y coordinates that represent the base point of the BLOCK.

These are not the same as the coordinates for where the BLOCK is actually inserted in the drawing. These coordinates act as a reference point for all the geometry contained in the BLOCK object. Every coordinate, for every piece of geometry in the BLOCK is referenced from the BLOCK base point. You can think of all the coordinates for the geometry in the BLOCK object as delta coordinates, because they measure distance from the base point of the BLOCK, not from the origin of the drawing.

The last thing that AutoCAD does when you insert a BLOCK, is to create an INSERT object in the ENTITIES section. This is a short entity that contains the name of the BLOCK being inserted as well as the coordinates where the BLOCK will be located in the drawing. These coordinates are the ones that control the location of the BLOCK within the drawing.

于 2014-05-01T14:20:40.310 回答