You are browsing the archive for Block.

Layer 0, ByLayer and ByBlock

August 6, 2009 in AutoCAD, CAD, Revit

questions Every time you create a new drawing, you will see a default layer: Layer 0. You can’t delete this layer.

Then when you define layer properties such as color, line weight, etc, you will see ByLayer and ByBlock property. Most of you might already know what is ByLayer means. But do you also know what is ByBlock behavior?

In a nut shell, here is the explanation

  • Layer 0 is a default layer. You can create geometry in your blocks using this layer. When you insert those blocks, they will use active layer. When you move this block to different layer, the objects in it will use the layer and ignore Layer 0.
  • When you define object properties (color, line weight, etc) to ByLayer, all of it properties will use the same properties as it’s defined in layer properties.
  • When you create geometries in your block using ByBlock, then you can override it’s properties after the block has been placed.
  • When you create geometries in your block other than ByLayer or ByBlock, then you can’t override them after your block has been placed.

Confused? Let’s create some example to comprehend this better.

Open your AutoCAD, in a new file create two layers, you can give them any name. Set different color and lineweight so we can easily distinguish them later.

layers

Now we will create 4 objects, in this example I use circle.

  • First circle use layer 0, color: by layer, line weight: by layer
  • Second circle use layer 0, color: by block, line weight: by block.
  • Third circle use layer 0, color: red, line weight: 0.5 (we set this high so can be easier to see).
  • The last one use layer 1, color: by layer, line weight: by layer.

Create 4 blocks from each of the circle. Now select all those four, then change their layer to Layer 2. You can see block 1 and 2 use the layer properties, but block 3 and 4 still using it’s own properties.

layer 2

Now override the color and line weight. Use color green, and line weight 2. You can see that the only block using the overridden properties is block no. 2!

properties overriden

Only block no.2 using the block properties, because we set it the geometry properties to by block.

Now freeze Layer 1. We can see the block no. 4 disappeared, because the object in it was created in Layer 1.

Unfreeze Layer 1, so we can see block no. 4 back. Now freeze layer 2. Remember, we have moved all of the blocks to Layer 2. What happen? All of the blocks disappear, including block no. 4! This block also disappear because the block itself using Layer 2. When we freeze Layer 1, the block is actually still showing. But the geometry inside it will be disappeared. This will be clearer if we have another object with different layer in that block.

Unfreeze Layer 2, then freeze Layer 0. None of the blocks is disappear! Remember that we created geometry in block 1,2, and 3 using Layer 0? They will ignore that layer and use the new layer properties.

If you want to understand more about this behavior, try to create more objects in your blocks. Set them to different properties. And play some more with layer properties. But I hope this is clear enough :)




Source: CAD Notes – Layer 0, ByLayer and ByBlock
Go to Source: CAD Notes

Using REFEDIT Command

July 22, 2009 in AutoCAD, CAD

REFEDIT or Reference Edit, is a command that modify blocks and external references  or Xref, and redefine block definitions within the current drawing. So if there something you want to modify, some portions of the blocks or external reference from your drawing. Then REFEDIT is the command you can always trust in doing so.

By editing the Block or Xref in place, you can modify the reference within the visual context of your drawing. With REFEDIT you can modify the external reference, without going back and fourth between the reference itself and to you drawing, where the Xref was currently inserted. Therefore, making your life more easier in  doing your work, or for this case editing some portions on your drawing.

The downside in using in-place reference editing of Xref is, it can increase the size of your current drawing files significantly during the in-place editing session. Making your drawing file size more bigger than you expected to be. So even if it is useful for us AutoCAD users, the in-place editing of the external reference or Xref, it is not advisable to do it, only if you are concern about the file size of your drawing. While Xref, has this small issue regarding the file size, the block reference doesn’t have this same issue, making the block more suitable from using the in-place editing or the REFEDIT.

refedit_menu

Fig.1

You can access, Edit Reference In-Place or REFEDIT command, by clicking the Tools pulldown menu, then Xref And Block In-Place Editing, then Edit-Reference In-Place (fig.1). Alternatively, at the command prompt, type REFEDIT. Then from within the drawing, select the block or external reference that you would like to modify. Thenafter selectiong the block or Xref a Reference Edit dialog box will appear (fig.2), in the Reference Edit dialog box, select the specific reference that you want to edit.

refedit-dialog

Fig.2

After selecting the specific reference the REFEDIT toolbox will appear (fig.3), then from there you can save it after you finish editing th object reference in your drawing. The object in the working set are saved to the reference and the Xref or the Block is updated. All Blocks that inserted in the drawing withthe same names as the block that has been modified, will also be updated.

Fig.3

Fig.3

Random Posts

Source: PinoyCAD[dot]net | Your Daily dose of AutoCAD Tutorials – Using REFEDIT Command
Go to Source: PinoyCAD[dot]net | Your Daily dose of AutoCAD Tutorials

Adjusting Block Scales in AutoCAD

July 22, 2009 in AutoCAD, CAD

Since AutoCAD 2002, there is a new concept as dimension unit (block unit) for blocks. According to this, AutoCAD changes the scale of the block and adjusts it according to the drawings (1) when creating the block and (2) when inserting the block. For instance, by using this feature, a block that has been prepared [...]

Source: All About CAD – Adjusting Block Scales in AutoCAD
Go to Source: All About CAD

Adjusting Block Scales in AutoCAD

July 22, 2009 in AutoCAD, CAD

Since AutoCAD 2002, there is a new concept as dimension unit (block unit) for blocks. According to this, AutoCAD changes the scale of the block and adjusts it according to the drawings (1) when creating the block and (2) when inserting the block. For instance, by using this feature, a block that has been prepared [...]
Source: Daily Autocad – Adjusting Block Scales in AutoCAD
Go to Source: Daily Autocad