Jump to content

Recommended Posts

Posted

I need to use same format of a field in the attribute that is in a block.

Thing is that I have an attribute in block that is describing perimeter of an area in a drawing. Problem is that, in the same drawing, sometimes .(dot) and sometime ,(comma) was used as a decimal separator. I need to change all dots to commas of such a field using a quick lisp because there are hundreds of such blocks.

 

Please help.

 

I know I could use Lee Mac Areas2AttributeV1-1.lsp with a little modification, but it is still too many clicks.

I'd like to select attribute in one of the blocks, copy it's formatting parameters and translate them to other attributes by clicking on them, like using match properties.

I must leave the object that the attribute is referenced to unchanged.

Posted

Have you tried using _.-ATTEDIT. Here's a simple example where I replaced T with t in 4 attributes I selected using a Crossing Window.

Command: _.-ATTEDIT
Edit attributes one at a time? [Yes/No] <Y>: N
Performing global editing of attribute values.
Edit only attributes visible on screen? [Yes/No] <Y>:

Enter block name specification <*>:

Enter attribute tag specification <*>:

Enter attribute value specification <*>:
Select Attributes: Specify opposite corner:
4 found
Select Attributes:

4 attributes selected.
Enter string to change: T
Enter new string: t

Command:

  • 4 weeks later...
Posted
Try my new program: Match Field Formatting

 

Lee, that looks really useful, well done, as always.

I really like that it honors the units conversion, sweet! :beer:

Posted
Lee, that looks really useful, well done, as always.

I really like that it honors the units conversion, sweet! :beer:

 

Cheers Dadgad! :thumbsup:

  • 2 weeks later...
Posted

Sorry for no reply sooner. Got a really big project and very little time... hospital 45000m2...

 

Yes that is what I need, and as always when Lee does the programming it works without a flaw.

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...