Jump to content

ATTSYNC Query


Recommended Posts

Posted

I have a block with attributes. I want to change the layer of the text within the attribute, this is easy then I do ATTSYNC but then all the text associated with all the block (about 60 of them) all moves back to the original place.

 

Is there anyway of stopping the text in an attrubute reverting back to its original position when I so ATTSYNC?

 

Thanks in advance.

Posted
Try BATTMAN and maybe BEDIT.

 

BATTMAN done the same as ATTSTNC and BEDIT wont work because its the attribute I need to change, not the block itself.

 

Thanks for the suggestions.

Posted

how are you redefining the attributes. Once you have altered your attributes (I use BEDIT) and redefined your block once, ATTSYNC will redefine all other blocks.

Posted
how are you redefining the attributes. Once you have altered your attributes (I use BEDIT) and redefined your block once, ATTSYNC will redefine all other blocks.

 

That's how i'm doing it. I want all the other blocks redefined like you said but the problem is I have moved all the manhole reference (the block attribute) away from the manhole block because they clash with other bits of the drawing. If I ATTSYNC it moves all the attributes back to their original location which means I have to go round and move all the attributes again on 60 odd manholes.

Posted

So all you want to do is change the layer the attributes are located on? If so there is definitely aLISP mentioned on these forums somewhere. Try searchiing in Cust. forum. I'll have a look myself later as it's probably a good one to have available.

Posted
So all you want to do is change the layer the attributes are located on? If so there is definitely aLISP mentioned on these forums somewhere. Try searchiing in Cust. forum. I'll have a look myself later as it's probably a good one to have available.

 

Yeah thats all I want to do but I don't want to have to so an ATTSYNC as this will create loads of work.

 

Thanks i'll have a peep.

Posted

For future reference some times i put a point move parameter on my attribute if i think it may clash with something :wink: so i can move it if required. (prob not what you want to hear!!) :D

Posted

that does get tricky, I think even with LISP it isn't the simplest of changes as you need to change each block instance rather than the block reference (which is what ATTSYNC is doing). Out of interest, does each block list as the same BlockName or have they had an additional anonymouse block name (such as *U344 ?)

Posted
that does get tricky, I think even with LISP it isn't the simplest of changes as you need to change each block instance rather than the block reference (which is what ATTSYNC is doing). Out of interest, does each block list as the same BlockName or have they had an additional anonymouse block name (such as *U344 ?)

 

No,all the blocks have the same name, just a different reference number which is changed with the attribute.

 

Here you can see the reference PF19, PF20 etc but they are in different places around the manhole block.

untitled.jpg

Posted

OK. I was just curious as when you use a dynamic block it also gets an anonymous name. This way you can change the basic block definition but also have a means of recording the differences between blocks through their anonymous name.

 

I think your problem can be solved through LISP or VBA by stepping through each instance of the block but I'll leave that one alone. As JB has said it is worth considering using a dynamic block with points on attributes in future if you expect to moving attributes. That way what you tried would have worked.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...