WheeQo.web.id

R. Bambang Widiatmoko's Blog | Sharing Knowledge to the World

Use Visibility Parameter and Define Attribute in Block

| 3 Comments


AutoCAD tutorial: Use Visibility Parameter and Define Attribute in Block

Study Case: Electrical Symbols
With these two feature, Visibility Feature and Define Attribute, in AutoCAD Dynamic Block feature, it is possible to create one block that can show different objects with different value. For example, I have three type of electrical switch (MCB, LBS, and IS) and when I want to insert particular switch, I could insert a current value freely.
One block for many symbols
All 12 symbols above is one block!

The Steps…

1. Create the symbols as many as you want, but don’t create the variable value, in this case, the current value. Define Attribute feature will create it later. Select all and click Make Block.
2. Fill the Name. Set the Pick point. Check the Open in block editor to directly edit the block. OK.
Block Definition
3. Make sure the Block Authoring Palettes is showed. Select the Visibility Parameter. Place it near the main symbol.
Visibility Parameter
4. Double click on Visibility Parameter, on the drawing not on the palettes. On Visibility States window, create new visibility states as many as your symbols and rename it to suit each symbol.
Visibility States
5. Before we continue more on Visibility Parameter, lets add Attribute first to each symbol. Click Define Attribute. Each symbol must have unique Tag on Attribute option. OK.
Attribute Definition
6. Place the Attribute to each symbol, you can copy it to each symbol, double click it and change the Tag and Prompt option to be unique each symbol.
Edit Attribute Definition
7. Now lets get back to Visibility Parameter. Watch over top-right corner of the window where Visibility toolbar is placed.
Visibility Toolbar
8. Click on Visibility Mode, so that, see the command line, BVMODE: 1. Since the visibility state is in MCB1, select all symbols except the MCB1 and click Make Invisible. Change to the other state, for example in LBS2 state only LBS2 symbol which is visible. Click on Make Visible to make object visible in current state. And click Make Invisible to make objects invisible.
Visibility state for each symbol
Visibility state for other symbol
9. After all visibility states is defined, move all symbols into one place.
Move symbol to one place
10. Save and close the block editor. Try to reinsert the block. You will be prompted to insert a current value.
Insert Block
11. To change to other symbol, click on the blue triangle. Choose the desired symbol. Double click on the symbol and fill the desired attribute value.
Choose symbol
Enhanced Attribute Editor
12. To change particular symbol, go to Block Editor. Choose the desired visibility state. Click on Visibility Mode, so that, see the command line, BVMODE: 0. Edit the symbol.
Have fun ^^

Related posts:

  1. Non Uniform Scale on AutoCAD There is no direct command in AutoCAD to do a...

Related posts brought to you by Yet Another Related Posts Plugin.

  • http://efeme.wordpress.com Finda Mega E

    great info ….

    just test it..and works perfectly … :D

  • Jordo

    Very helpful. Thankyou.

  • Jeff

    I’m trying to use visibilty parametric in a interior elevation tag. I created north, east, south, west, and all visibilty options. problem is what if you want north and south, or west and south, or west and east, etc, etc. this would be too manu combos to sort through. Is there a way to turn on or off each arrow. ie a want to turn on north, west and south but east remains off?