Blog posts January 2010

Convert PDMS "IOS" File to 3D Isometric Model!!

Another popular Export That you can Get from PDMS is and isometric DWG file. But this is a 2D isometric and it is just a sketch. it has dimensions but lengths are not related. if you want a real 3D isometric with correct lengths you should draw again all the lines in a 3d model. It is a tedious work. I myself test it in AutoCAD. so i built an application to Convert 2D isometrics Models to real 3D models.

You Can Download it From Following Link:


Extract RAR archive It Contains 3 Files :

  1. A .dwg file that contains some PDMS sample files
  2. a .lsp  file
  3. a .dvb file


  1. open .dwg file
  2. Load The lisp and "iso3d.dvb" from Autocad menu-> tools-> Load Application
  3. in AutoCAD command prompt type iso to start application
  4.  ....

It is really hard to explain some notes on how to use this application. So i built a mp4 Tutorial.

You can Download the Tutorial Here.

Remember These points in mind when using this application:

  1. Close all other dwg files that are already open and only open one that you want to convert
  2. Make Osnap OFF
  3. Begin From START of pipe to the end and follow direction of pipes shown in drawing with Arrow (->). otherwise  the direction computed by application will be in opposite direction
  4. Start of pipe line some times has and (E,N,H)
  5. in Tee branches type "T' and after finishing branch to continue from beginning of tee branch type "S" to Stop branch
  6. If you want continue from somewhere in your last drawn isometric, immediately after running "iso.lsp" (by typing iso in command prompt) type "P" for pick point option. this let you select a point 3d isometric and then return to 2d isometric.

This application is not perfect and surely has some bugs. It is because of the nature of PDMS isometric maps. They are not regular and built to be understood by human.

Read more

Convert aveva pdms 3D model to DWG model or Other Formats

First of all i should say that this problem is solved by EXplant module of PDMS. When i wrote this script i hadn't access to this module. With this module you can directly export to dgn!!

In that time our company design in Aveva PDMS and we in GIS division model all piping and other structures in ArcGIS. Piping Discipline give us only some reports from PDMS and we should redesign them in Auto CAD then import AutoCAD 3D Models into ArcGIS. We decide to automate this sequence. So I began to search.

I searched the entire web and finally I find out Aveva has "Explant-I" to do this. I couldn’t find it in that time.

At last I decide to write some code in AutoCAD VBA to convert PDMS report to AutoCAD objects and i did it.

We build a DWG template that includes some piping elements as blocks including valves and other piping equipments and VBA application read the positions and type of them from PDMS report and then import them in right place in DWG template.

Because of some modeling points in ArcGIS, I categorized objects in layers with special names special line types and special color (depend on pipe size).

This code is fully customized for our problem. but if your Report from PDMS be exactly same as this Excel file, this program surely works for you.

You can download All of my works HERE.

4Files included. after extraction do following works:

  1. open Excel file and leave it aside.( This is the report from PDMS produced From Piping Discipline)
  2. open dwg file (Template file included all blocks and ... we needed)
  3. put dvb file in the path of your AutoCAD. For example C:\Program Files\AutoCadPath\Support folder
  4. load lsp & dvb file from AutoCAD menu-> Tools -> Load application
  5. type pdms in command prompt in AutoCAD to run application
  6. Enter a Number that indicate how many line from Excel file you want to be Drawn in Autocad. & press Enter. and Please Wait ...
  7. After all works done "zoom extent" to see what is drawn.

Attention to blocks and poly lines( color number, line type scale), Layers,...



Leaving Comments Make me happy.

2 blog posts