@asbeastos wrote:
Hello everyone,
I'm working on a script to find and replace text throughout a document (we do all of our shop drawings in Rhino, so if a material spec changes, that could mean sifting through 40+ pages of layouts to make the revisions.)
I have the base functionality sorted out, and am now trying to make the script a little more robust. Part of that is allowing the user to enter a String in the command line, or simply selecting the text object they'd like to replace.
I know how to do each of these individually, but is there any way to combine these into a single command prompt? i.e."Enter text, or select text object?"
i know i could do this with an additional prompt level ("1 to enter text, or 2 to select text object."), but wondering if it could be more streamlined for the user.
Posts: 4
Participants: 2