AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

aligning text attributes

19 REPLIES 19
Reply
Message 1 of 20
Anonymous
9703 Views, 19 Replies

aligning text attributes

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
19 REPLIES 19
Message 2 of 20
dougmcalexander
in reply to: Anonymous

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

Message 3 of 20
Anonymous
in reply to: Anonymous

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
Message 4 of 20
Anonymous
in reply to: Anonymous

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
Message 5 of 20
Anonymous
in reply to: Anonymous

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
Message 6 of 20
Anonymous
in reply to: Anonymous

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
>
Message 7 of 20
Anonymous
in reply to: Anonymous

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
>
Message 8 of 20
Anonymous
in reply to: Anonymous

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
Message 9 of 20
Anonymous
in reply to: Anonymous

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
>
Message 10 of 20
Anonymous
in reply to: Anonymous

Steve,

manay thanks!

that's brilliant.. works very well.

Graham
Message 11 of 20
Anonymous
in reply to: Anonymous

Steve,

many thanks!

that's brilliant.. works very well.

Graham
Message 12 of 20
Anonymous
in reply to: Anonymous

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
>
Message 13 of 20
Anonymous
in reply to: Anonymous

Thanks Steve!

Message 14 of 20
Anonymous
in reply to: Anonymous

Great lsp. Helps a lot. Thank you 

Message 15 of 20
Anonymous
in reply to: Anonymous

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

Message 16 of 20
Anonymous
in reply to: Anonymous

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

Message 17 of 20
NateWa
in reply to: Anonymous

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.

Message 18 of 20
Anonymous
in reply to: Anonymous

Thank you so much! 

 

Works great!

Message 19 of 20
syed_zakeer
in reply to: Anonymous

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

Message 20 of 20

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report