Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyRevit Revalue Find and Replace Function #944

Closed
Robbo1234 opened this issue Jul 21, 2020 · 8 comments
Closed

PyRevit Revalue Find and Replace Function #944

Robbo1234 opened this issue Jul 21, 2020 · 8 comments
Labels
Enhancement Enhancement request [class->Improved #{number}: {title}] Prioritize The issue is planned to be resolved in the next version

Comments

@Robbo1234
Copy link

Is your feature request related to a problem? Please describe.
I would like if PyRevit Revalue could be used like Find and Replace in Microsoft Word/Excel. i.e. I would like the PyRevit Revalue to replace spaces in the Revit Family name with a hyphen "-". Refer to screenshot below..

image

Thanking you in advance

Rob

@eirannejad eirannejad added the Enhancement Enhancement request [class->Improved #{number}: {title}] label Jul 24, 2020
eirannejad added a commit that referenced this issue Aug 9, 2020
@eirannejad
Copy link
Collaborator

Fixed and will be published with next release

@Robbo1234
Copy link
Author

Thanks Ehsan

image

@eirannejad
Copy link
Collaborator

@Robbo1234 Of course :)

@Robbo1234
Copy link
Author

I can't get PyRevit Revalue to remove "spaces" " ." and "/" from Revit Sheet names.

image

@eirannejad
Copy link
Collaborator

The find-replacer supports regex. Use \s for a single space. You can play with regex here

@Robbo1234
Copy link
Author

Thanks Ehsan, but it doesn't replace single spaces with no spaces
similar to MS Excel find and replace functionality.

image

@eirannejad
Copy link
Collaborator

Oh got it

@eirannejad eirannejad reopened this Aug 15, 2020
@eirannejad eirannejad added the Prioritize The issue is planned to be resolved in the next version label Sep 24, 2020
eirannejad added a commit that referenced this issue Oct 20, 2020
@eirannejad
Copy link
Collaborator

Fixed and will be published with next release

@Robbo1234 Robbo1234 changed the title PyRevit Revalue Find and Replace Funcation PyRevit Revalue Find and Replace Function Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhancement request [class->Improved #{number}: {title}] Prioritize The issue is planned to be resolved in the next version
Projects
None yet
Development

No branches or pull requests

2 participants