bustr Posted April 19, 2023 Posted April 19, 2023 I'm trying to use this script but the space in "pdf_solid fills" is being read as a carriage return. Is there a way to deal with this? -LAYER off pdf_solid fills LIMITS 0,0 11,17 Command: _SCRIPT Enter script file name <O:\Motiva\2022\22022020.00 - USMF 00454 SRU2 & 3 TGTU1 IPF Upgr (DE)\Working\Instr-Elect\05_Drawings\01_Working\SHARED SmartPlant Instrumentation\214SC-13 TB12-DEMO.scr>: "\\olson-fs01\users\mgooch\DWG_BACKUP\TGTU1_CHECK\STRIP_PREPARATION_SCRIPT.SCR" Command: -LAYER Current layer: "RED LINE" Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]: off Enter name list of layer(s) to turn off or <select objects>: pdf_solid No matching layer names found. Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]: fills Invalid option keyword. Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]: Quote
CyberAngel Posted April 19, 2023 Posted April 19, 2023 Have you tried putting the layer name in quotes? Use "pdf_solid fills" in the script instead of the literal name. If that doesn't work, check back with us. 2 Quote
mhupp Posted June 17, 2023 Posted June 17, 2023 I think with scripts just like DCL files you have to put a slash in front of the quote for it to register properly. (write-line " : edit_box {label = \"CASE TYPE\"; key = \"case\"; alignment = centered; edit_width = 50; allow_accept = true;}" fo) would make a line in dcl file : edit_box {label = "CASE TYPE"; key = "case"; alignment = centered; edit_width = 50; allow_accept = true;} Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.