Delete objects by name, pattern matching, regex, etc

Next
 From:  fcwilt
11674.1 
Hi,

Is there any way to delete objects by matching part of a name?

I'm working with a step file that seems to have included every nut, bolt and washer - hundreds of them.

I'm try to clean out unneeded things like to the par down the size of the file and make it easier to work with.

Thanks.

Frederick
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11674.2 In reply to 11674.1 
Hi Frederick, there is selection by name with wildcard characters.

Type the Tab key which will put keyboard focus into the XYZ input in the bottom toolbar, then type your wildcard pattern and push enter.

The wildcard characters are * and ?
* matches any sequence and ? matches any single character.

So for example if have names like "nextbox" and "box8229" you can put *box* and that will select anything that contains "box" in it with anything before or after.

If you put box* that would only match box8229 and not nextbox.

That will select the objects, then use delete to remove them.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  fcwilt
11674.3 In reply to 11674.2 
Hi Michael,

That is fantastic.

Frederick
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All