
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 |
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.
Following steps will help to run AutoCAD script while processing isometric in DWG format.
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

- Save the isoextractor.bat file.
- Go to project location and open “Isoproj.cfg” file.
Ex: %project%\Config\OpenPlant\Isometrics - 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. - Generate isometric by using following settings.


Note:“Do not Split” option not work here. Use anyone above highlighted option as per requirement.
- 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% - Save the file and generate isometric by using do not split option.

See Also
communities.bentley.com/.../processing---openplant-isometrics-manager-for-autoplant
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!