aligning text attributes

This widget could not be displayed.

aligning text attributes

Anonymous
Not applicable
A simple thing! there must be an easy way (I hope) to align attributes of various components ... just like aligning wire numbers or the components themselves... I just haven't been able to see it PLEASE PLEASE can someone help... I need my diagrams to look nice....

thanks in advance

Graham
0 Likes
Reply
9,707 Views
19 Replies
Replies (19)

dougmcalexander
Mentor
Mentor
The attribute move command allows you to select attributes from multiple blocks and move them all at once.

Doug McAlexander
Design Engineer/Consultant/Instructor/Mentor
Specializing in AutoCAD Electrical Implementation Support
Phone: (770) 841-8009
www.linkedin.com/in/doug-mcalexander-1a77623

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Anonymous
Not applicable
Hi Doug,

thanks again for responding... yeh got that and have been using it but what I really want to do is click items and have them align accurately its amazing how sharp the human eye is in detecting slight offsets and how hard it is to align separate text objects.. it seems disappointing to me! especially when it does it with other items such as wire no's ...

Graham
0 Likes

Anonymous
Not applicable
Graham,

Attached is a small LISP routine that can be used to align attributes on
blocks. It works similar to the Acade Align Component command. It does not
work with Align and Fit text justifications though (I didn't take the time
to add that support).

It is not fully tested and is being supplied as-is, but it works on basic
attributes and can be used to align attributes on either the same block or
different blocks. It will also work on any drawings, they do not need to be
Acade drawings.

Steve

"NickMcGarry2994" wrote in message news:6328030@discussion.autodesk.com...
> Hi Doug,
>
> thanks again for responding... yeh got that and have been using it but
> what I really want to do is click items and have them align accurately its
> amazing how sharp the human eye is in detecting slight offsets and how
> hard it is to align separate text objects.. it seems disappointing to me!
> especially when it does it with other items such as wire no's ...
>
> Graham
0 Likes

Anonymous
Not applicable
Hi Steve,

I have tried your autoLISP file but couldn't get it working... it loaded Ok but when i typed AATTR at the command prompt it returned "Unknown command "AATTR"... any ideas?

thanks

Graham
0 Likes

Anonymous
Not applicable
Graham,

Looks like the first file I attached got corrupted. I have re-attached the
file to this post. Hope this one gets posted Ok.

Steve

"NickMcGarry2994" wrote in message news:6342138@discussion.autodesk.com...
> Hi Steve,
>
> I have tried your autoLISP file but couldn't get it working... it loaded
> Ok but when i typed AATTR at the command prompt it returned "Unknown
> command "AATTR"... any ideas?
>
> thanks
>
> Graham
>
0 Likes

Anonymous
Not applicable
Graham,

Looks like the first file I attached was corrupt. I tried posting it again
and it was also corrupt. I think it might be the encoding I used when I
saved it, so I am trying to post again here with a different encoding, hope
this works :).

Steve

"NickMcGarry2994" wrote in message news:6342138@discussion.autodesk.com...
> Hi Steve,
>
> I have tried your autoLISP file but couldn't get it working... it loaded
> Ok but when i typed AATTR at the command prompt it returned "Unknown
> command "AATTR"... any ideas?
>
> thanks
>
> Graham
>

Anonymous
Not applicable
Hi Stave,

and thanks again... I am afraid it still didn't run... same problem.. any chance you could email the file directly to me?

graham@c-designs.co.uk

graham
0 Likes

Anonymous
Not applicable
Graham,

Ok, Looks like there is an issue when I am attaching a text file, the files
are getting corrupted. I have reattached the file here in compressed
format, that should take care of the corruption issue.

If anyone has a suggestion as to why when I attached a text file it is
getting corrupt, it would be appreciated. After the file gets sent to the
NG, when I try and view it, it looks as if all the returns/linefeeds are
removed from the file. I tried to resave the file with UTF-8 encoding, but
had the same issue after uploading it.

Steve

"NickMcGarry2994" wrote in message news:6342138@discussion.autodesk.com...
> Hi Steve,
>
> I have tried your autoLISP file but couldn't get it working... it loaded
> Ok but when i typed AATTR at the command prompt it returned "Unknown
> command "AATTR"... any ideas?
>
> thanks
>
> Graham
>

Anonymous
Not applicable
Steve,

manay thanks!

that's brilliant.. works very well.

Graham
0 Likes

Anonymous
Not applicable
Steve,

many thanks!

that's brilliant.. works very well.

Graham
0 Likes

Anonymous
Not applicable
I can't say why it appears to corrupt the file but I would suggest always
zipping any files you want to attach. I believe that file attachments go
through some sort of virus checking and some are filtered out.

Pat Murnen

"Steve" wrote in message
news:6342320@discussion.autodesk.com...
Graham,

Ok, Looks like there is an issue when I am attaching a text file, the files
are getting corrupted. I have reattached the file here in compressed
format, that should take care of the corruption issue.

If anyone has a suggestion as to why when I attached a text file it is
getting corrupt, it would be appreciated. After the file gets sent to the
NG, when I try and view it, it looks as if all the returns/linefeeds are
removed from the file. I tried to resave the file with UTF-8 encoding, but
had the same issue after uploading it.

Steve

"NickMcGarry2994" wrote in message news:6342138@discussion.autodesk.com...
> Hi Steve,
>
> I have tried your autoLISP file but couldn't get it working... it loaded
> Ok but when i typed AATTR at the command prompt it returned "Unknown
> command "AATTR"... any ideas?
>
> thanks
>
> Graham
>
0 Likes

Anonymous
Not applicable

Thanks Steve!

0 Likes

Anonymous
Not applicable

Great lsp. Helps a lot. Thank you 

0 Likes

Anonymous
Not applicable

Nice Steve!

 

Did ACADE 2016 add an align attribute function? I feel like I read that when I was reading about what's new in 2016

0 Likes

Anonymous
Not applicable

This was very helpful. I would like to say thanks.

0 Likes

NateWa
Advocate
Advocate

Steve,

I have been using this lisp file for a while now and love it, thank you for posting it. Just wondering if you have made any changes to the original file that you posted on this thread? It would be awesome to have the window function incorporated in this lisp.

0 Likes

Anonymous
Not applicable

Thank you so much! 

 

Works great!

0 Likes

syed_zakeer
Explorer
Explorer

I need LISP for Attribute text justification to change at at time all attribute text, please can anyone to help

 

email: zakirsyds@gmail.com

 thank you

0 Likes

syed_zakeer
Explorer
Explorer

I need LISP for Attribute text justification to change at at time all attribute text, please can anyone to help

 

email: zakirsyds@gmail.com

 thank you

0 Likes