TheSwamp

CAD Forums => CAD General => Topic started by: craigr on May 18, 2016, 11:57:27 AM

Title: Remove from Multiple attributes at once?
Post by: craigr on May 18, 2016, 11:57:27 AM
See the attached CAD file.

All I need is the Room Name & Number.  I want to remove the '#### SF' from every instance, without having to edit every one.

I looked at the ‘edit attribute’ option, but I don’t see anything in there that would delete this line.

IS there a way to do this to ALL of them at once?
Title: Re: Remove from Multiple attributes at once?
Post by: cadtag on May 18, 2016, 12:18:17 PM
Find works in 2014 (full)  just use "??? SF" for the string to search on, and an empty space as the replacement.

130 odd instances replaced in milliseconds
Title: Re: Remove from Multiple attributes at once?
Post by: ronjonp on May 18, 2016, 12:18:48 PM
Like so?  :)
Title: Re: Remove from Multiple attributes at once?
Post by: Rob... on May 18, 2016, 12:20:09 PM
Edit the block.
Erase the attribute.
Save the block.
ATTSYNC
Title: Re: Remove from Multiple attributes at once?
Post by: ronjonp on May 18, 2016, 12:21:45 PM
Find works in 2014 (full)  just use " :? SF" for the string to search on, and an empty space as the replacement.

130 odd instances replaced in milliseconds
To expand on this you have to make sure the wildcard option is checked.

Title: Re: Remove from Multiple attributes at once?
Post by: Jeff H on May 18, 2016, 12:21:57 PM
can't you just edit block, delete attribute then ATTSYNC on block?


*********edit********

DOH!
Rob already posted
Edit the block.
Erase the attribute.
Save the block.
ATTSYNC
Title: Re: Remove from Multiple attributes at once?
Post by: ronjonp on May 18, 2016, 12:24:39 PM
can't you just edit block, delete attribute then ATTSYNC on block?
That was my first thought too but look at how some of the blocks are filled out:
Title: Re: Remove from Multiple attributes at once?
Post by: Rob... on May 18, 2016, 12:54:11 PM
can't you just edit block, delete attribute then ATTSYNC on block

It does work but the problem is that there is at least four different blocks at use for the same thing. Some of the square footages are plain text to complicate matters even more. Find and replace is the fastest solution but my OCD would make me edit the blocks and delete the text entities.
Title: Re: Remove from Multiple attributes at once?
Post by: craigr on May 18, 2016, 02:04:16 PM
One thing I initially tried was to create 'Junk' Layer and thru the Attribute editor, set the SF line to that 'Junk' layer. I then turn that layer off and set it to 'no print'.

But, my OCD won't let me cheat like that.  (though it does work)
Title: Re: Remove from Multiple attributes at once?
Post by: ronjonp on May 18, 2016, 02:17:21 PM
One thing I initially tried was to create 'Junk' Layer and thru the Attribute editor, set the SF line to that 'Junk' layer. I then turn that layer off and set it to 'no print'.

But, my OCD won't let me cheat like that.  (though it does work)
That seems like much more work than find & replace.
Title: Re: Remove from Multiple attributes at once?
Post by: ronjonp on May 18, 2016, 02:23:02 PM
One thing I initially tried was to create 'Junk' Layer and thru the Attribute editor, set the SF line to that 'Junk' layer. I then turn that layer off and set it to 'no print'.

But, my OCD won't let me cheat like that.  (though it does work)
That seems like much more work than find & replace.
Actually after testing, the find & replace it does not do what you want. It leaves the number & only removes the SF.
*EDIT: Using filter '#*SF' works.
Title: Re: Remove from Multiple attributes at once?
Post by: Bryco on May 21, 2016, 03:35:59 PM
Isolate "Roomnumbers layer"->select all ->Quick select->block reference->name->operator=wildcard match->value=BP*->in properties window UNDER ATTRIBUTES,NUMBER delete "varies",
this gets all the blocks sorted. Can do the same for text