jerry00769 Posted May 2, 2020 Share Posted May 2, 2020 Hello, at first, this 2 points works perfectly in DraftSight SW but not in AutoCAD I call AutoCAD from excel VBA and run script scr commands, only 3... 1) Auto open dwg +script: ACAD = Shell("C:\Program Files\AutoCAD 2010\acad.exe " & PathName & "\" & FilenameDWG & " /b " & sPath & "\commandSCR.scr") means app_path_exe file_path_name /b script_path_name > DraftSight is ok not AutoCAD 2) script commands in scr file: a) _.-LAYER > works b) -image > works c) REPLACEDIMENSIONTEXT > works in DraftSight perfectly like this (try replace Hcooler by 8510): REPLACEDIMENSIONTEXT 8510 ES Hcooler I would like to ask you for a help with the following 2 points: 1) Auto open dwg +scr: app_path_exe file_path_name /b script_path_name (run DOS coomand to open dwg and scr together) 2) Find & Replace dimension text similar to scr Draftsight command "Replacedimension text" as above mentioned Is there any chance to help me? Many thanks for your feedback in advance. BR, Jerry CZ Quote Link to comment Share on other sites More sharing options...
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.