happyunited Posted February 11, 2009 Posted February 11, 2009 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. Quote
happyunited Posted February 11, 2009 Author Posted February 11, 2009 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. Quote
dbroada Posted February 11, 2009 Posted February 11, 2009 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. Quote
happyunited Posted February 11, 2009 Author Posted February 11, 2009 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. Quote
wannabe Posted February 11, 2009 Posted February 11, 2009 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. Quote
happyunited Posted February 11, 2009 Author Posted February 11, 2009 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. Quote
JBullseye74 Posted February 11, 2009 Posted February 11, 2009 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!!) Quote
dbroada Posted February 11, 2009 Posted February 11, 2009 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 ?) Quote
happyunited Posted February 11, 2009 Author Posted February 11, 2009 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. Quote
dbroada Posted February 11, 2009 Posted February 11, 2009 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. Quote
Recommended Posts
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.