Attribute text far away

Attribute text far away

masumiNYMDW
Enthusiast Enthusiast
214 Views
3 Replies
Message 1 of 4

Attribute text far away

masumiNYMDW
Enthusiast
Enthusiast

I have always been confused what attribute is and does.

 

Now I have a block with attribute text whose texts are shown far away from its frame.

masumiNYMDW_0-1738930765100.png

 

 

In the block editor, the texts XX seem to be placed at the right position.

masumiNYMDW_1-1738930792501.png

 

Why is there a huge difference?

A drawing containing the block is attached.

 

Thank you!

 

 

0 Likes
Accepted solutions (2)
215 Views
3 Replies
Replies (3)
Message 2 of 4

cadffm
Consultant
Consultant
Accepted solution

Hey,

 

first of all:

Use INSERT to create a new one, it looks right, or?

run command ATTSYNC, all looks right now.

 

Explaination:

They are no blocks, they are Blockreference.

A Block ist a named definition. Block / Blockdefintion

You can insert multiple Blockreferences of this Block, all of them showing the block content ( except the non-constant Attributdefinitons).

 

ATTDEF = AttributeDefinition

with property constant=Yes / is very similar to a usual Text or MText

with property constant=No / they are very cool:

If you insert a blockreference, AutoCAD will attach Attributs to your Blockreference, similar to the Attributedefinitons in your Blockdefinition.

Since created (Blockreferences), the Attributes has nothing to do with the Block, thy attached to the Blockreference only.

(for advanced, there is something like an exception, for attributes with property Locked Position = Yes)

 

Because of this construct, you are able to change the Attribut value individually per Blockreference!

 

Command: ATTSYNC

This command can "Update" your blockreferences to match the current block definition (related to attributdefinitons only, by logic).

 

If you moved your attributes of an blockreference, or you changed the attributdefintion in your block,

Attsync will ADD Attributes, DELETE Attributes and matchprop other properties from current atributdefinions to your blockreference attributes - whatever is needed to match them.

 

EXCEPTION: The Attribute values won't Update by Attsync.

 

 

 

 

Sebastian

0 Likes
Message 3 of 4

cadffm
Consultant
Consultant
Accepted solution

>> Why is there a huge difference?

I guess you created your block,

inserted one blockreference,

and after this:

You have seen that your content is far away from the origin basepoint

you EDITED your block by BEDIT for example

and moved all the content to 0,0

BSAVE BCLOSE

 

Result:

The existing Blockreference showing the content (except the non-constant Attributdefinitions) near to the basepoint,

but the already created attributes are still on ther position.

 

At this time, your Blockreference don't match the current Blockdefintion, what is okay!

This way you can change the  position per each insert,

or the color, attribut height and whatever.

 

But because of the same costruct, it is possible that you have

A Block with 2 Attributdefinitions, one Insert of them  with 3Attribut, another Insert of them  with 1Attribut.

[If you like to try, add one Attdef, create a ne insert, compare the old and the new insert]

 

The flexibility is a huge blessing, but it often becomes a curse.

I hope you have a great time with Attributed Blocks.

Sebastian

0 Likes
Message 4 of 4

masumiNYMDW
Enthusiast
Enthusiast

Thank you! ATTSYNC fixed it! 

 

0 Likes