Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

giscivil92
377 Vistas, 9 Respuestas

How to define an attribute tag into a block!?

Hi @everyone

How to define an attribute tag into a block!?

cadffm
en respuesta a: giscivil92

Edit/create your block,

create an Attributdefinition, command: ATTDEF (property "constant"=NO)

save your blockdefinition

create a blockreference and this will have an attached attribute, based on your attdef (with is a template for attributs)

Sebastian

giscivil92
en respuesta a: cadffm

@cadffm Hi

I did according to your comment but when I click on attribute block is selected!

AVCPlugins
en respuesta a: giscivil92

Yes, of course, when you click on any element of a block, the entire block is selected. This is fine. Next, look in the properties panel - all non-constant attributes will appear there and you can edit the attribute value there.

Also try double clicking on the block and try use a context menu. Choose which method is more convenient for you.
By the way, there is a plugin that allows you to create invisible attributes directly in the properties palette, without entering the block editor.


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
giscivil92
en respuesta a: AVCPlugins

@AVCPlugins 

I want when I double click on the block to go to attribute no into the block!

AVCPlugins
en respuesta a: giscivil92

This is standard AutoCAD behavior - double-clicking on a block opens the attribute editor (unless, of course, there are already attributes in the block).


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
giscivil92
en respuesta a: AVCPlugins

No dear @AVCPlugins 

I want it when I double-click on an attribute that doesn't enter into a block! I can change the text of the attribute without entering into block

AVCPlugins
en respuesta a: giscivil92

Attributes in model space are meaningless because they can easily be replaced by simple text or drawing properties. The attribute is needed specifically inside the block to store all kinds of auxiliary information about the product or part that the block represents. You must first add all the necessary attributes to the block in the block editor, and then insert links to the block and edit the attributes as needed without going into the block editor.

 

And inside the block editor you will see all the attributes, even invisible ones. And you can select one or more attributes and configure all their properties in the properties panel. There you can configure both the Tag and the Default Value, as well as important options such as Visible, Constant.


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
giscivil92
en respuesta a: AVCPlugins

I solved it.

I must have to select each one separately!

paullimapa
en respuesta a: giscivil92

You could also press the Ctrl on the keyboard and then double click on the Attribute to edit without going into the dialogue 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos