Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Wiki Page: How to Run AutoCAD Script (.SCR) on Generated dwg Isometrics

$
0
0
Applies To Product(s): OpenPlant Isometrics Manager Version(s): 08.11.11.XXX (SS6) Environment: Windows 7/8.1/10 (64 bit) Area: Processing Subarea: Original Author: Abhijit Bute Bentley Product Advantage Group Following steps will help to run Autocad script while processing isometric in dwg format. Background Some user may have requirement to run AutoCAD command by batch process on generated isometrics so that they can add extra information on generated isometrics by using AutoCAD Script (***.scr) file. AutoPlant Modeler-OpenPlant Isometrics Manager Steps to Accomplish Edit Isoextractor.bat file. Go to following location: C:\Program Files (x86) \Bentley\OpenPlantIsometricsManager V8i\OpenPlantIsometricsManager\IsoExtractor Copy Isoextarctor.bat file and rename previous Isoextarctor.bat file to Org.Isoextarctor.txt file. Open IsoExtractor.bat file for editing (right click on edit button) Add following entries: IF [%4] == [] goto openseed :genIso OpenPlantIsoExtractor.exe "-wc%config%" "-ws_USTN_PROJECTSROOT=%PROJROOT%" "-wu%~1" "-wp%~2" "-wsPW_DISABLE_INTEGRATION=1" "-ws_SP_DOCMGMT=1" "-wsPW_MG_CFG=%PW_MG_CFG%" -WAISOEXT "-wsSTYLE=%~3" "%~4" set a=%~4 set aa=%a:.l00=*.dwg% set dwg=%aa:l00=dgn% for %%i in ("%dwg%") do START C:\"Program Files"\"Autodesk\AutoCAD 2016"\acad.exe "%%i" /b C:\TEST\INSERT-proper.scr goto End :openIso START "C:\Program Files\Autodesk\AutoCAD 2016\acad.exe" "%~4" goto End :openseed OpenPlantIsoExtractor.exe "-wc%config%" "-ws_USTN_PROJECTSROOT=%PROJROOT%" "-wu%~1" "-wp%~2" "-wsPW_DISABLE_INTEGRATION=1" "-ws_SP_DOCMGMT=1" "-wsPW_MG_CFG=%PW_MG_CFG%" -WAISOEXT "-wsSTYLE=%~3" "%~4" goto End :getConfigData OpenPlantIsoExtractor.exe "-wc%config%" "-ws_USTN_PROJECTSROOT=%PROJROOT%" "-wu%~1" "-wp%~2" -WABentley.Isometrics.MSAddIn "%~3" "%~4" goto End :End exit 0 5. Save the isoextractor.bat file. 6. Go to project location and open “Isoproj.cfg” file. Ex: %project%\Config\OpenPlant\Isometrics 7. L00 AND DGN file path should be on same location. Note: If isometric generation path change to customize path, then L00 files path should be on same path. 8. Generate isometric by using following settings. Note: “Do not Split” option not work here. Use anyone below highlighted option as per requirement. 9. For using Do Not Split option, need to edit Isoextractor.bat file as per below. set aa=%a:.l00=-*.dwg% change to set aa=%a:.l00=*.dwg% 10. Save the file and generate isometric by using do not split option. See Also Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!

Viewing all articles
Browse latest Browse all 12277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>