- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
I really don't know how to get started, so looking for someone to make a script which I can later expand on to.
Script needs :
Input Dialog with 7 line text area, OK, Cancel.
On 'Cancel', close dialog, do nothing.
On 'OK', close dialog and then ...
Convert the 7 lines of text from the text input area to Uppercase.
Split the 7 lines of text in to variables ( userVarName, userVar1, userVar2, userVar3 .... , userVar6 ) and trim off and blank spaces either end of each variable.
'Save As' the opened design as 'userVarName'.
Change view to 'Home' ( to center the model )
Change view to 'Front'
Edit 'Sketch1'
Sketch1 contains 6 text items. Change the text in the text items to userVar1 ... userVar6
If the userVar = the text "SMALLER" then set the text size to 6.75mm
If the userVar = the text "LARGE" then set the text size to 9mm
Note - the above 6 text items in the sketch could be moved to different sketches is it is easier to process.
Leave the Sketch open in Edit mode and end the script.
Solved! Go to Solution.