Professional Documents
Culture Documents
Product: AutoPIPE
Version Number: V8i (v9.6)
Submitted By: JT
Revision: 0.0
Table of Contents
TABLE OF CONTENTS .......................................................................................................................................... 1
INTRODUCTION.................................................................................................................................................. 2
FURTHER INFORMATION .................................................................................................................................................. 2
Local and global Excel templates used in this tutorial are located in the Templates folder of the
AutoPIPE install directory. AutoCAD and MicroStation examples used in this tutorial are located
in the Examples folder of the AutoPIPE install directory.
Further Information
For further information on how to import coordinates from external files, refer to online help
“Help > Bentley AutoPIPE > Command Reference > File Commands > Inserting Model >
Coordinates”. The Help button on the Import Coordinates dialog (File > Insert Model >
Coordinates) opens the same help page.
Importing Global Coordinates from Excel
Work Flow – Importing Global Coordinates
Import Model
Accepted types for the Component column are Run, Bend, Tee, Reducer, Valve, Flexible Joint,
and Flange. The nominal diameter of the pipe section for each record is defined in the Nominal
Diameter column. Note that AutoPIPE does not automatically place reducers in between piping
sections with diameter changes, leading to global consistency warnings in the model. The From
column represents the global coordinates, relative to the origin, that the component starts at,
and contains three sub columns: X1, Y1 and Z1. The To column represents the global
coordinates, relative to the origin, that the component ends at, and contains three sub
columns: X2, Y2, and Z2. Finally, the Tee Branch column is only read for tee components. For
tee components, From represents 1-Header, To represents 3-Header, and Tee Branch
represents 2-Branch.
The Nominal Diameter, From, To and Tee Branch columns may have units defined in a UNT file
located in the AutoPIPE install directory. This UNT file will be selected in the Import Coordinates
dialog. Note that due to the limitations of Excel 2007, a limit of 1,048,576 records can be
created in one worksheet.
AutoPIPE only reads the first tab in the workbook. Since the first tab does not contain any
records, copy the values in the Example tab and paste them into the appropriate columns in the
Coordinates tab. Save the Excel file in a different location and close Excel.
Import Excel Coordinates
After creating the Excel worksheet, open the AutoPIPE WALKTHRU model, located in the
Examples folder of the AutoPIPE install directory. Set A10 as the active point and open the
Import Coordinates dialog through File > Insert Model > Coordinates. Set the Coordinates radio
button to Global and set the Input Units File dropdown to the ENGLISH. Select Convert Kinks to
Bends Automatically to convert those kinks to proper long radii bends upon importing the
coordinates. If there are kinks in the model (two connected pipe runs with differing direction
vectors of more than 5 degrees), AutoPIPE will correct these. Tight pipe turns intended for small
pipe sizes may give some warning messages “Not enough clearance to fit bend”.
To locate the Excel file, click on the Browse button and open the file. AutoPIPE will attempt to
import the model and, if successful, the following note will display.
If the file is not of a valid format, the following dialog will display. Check that the table headers
match the template exactly.
After loading the file successfully, import the model by clicking the button Import. Consistency
check notes 8 warnings, which can be manually updated by the user after import. Select point
17 as the base point, as requested by AutoPIPE.
A note dialog mentions that the piping codes of source and target models are different. Click OK
to close this note and import the model.
Importing Local Coordinates from Excel
Work Flow – Importing Local Coordinates from Excel
Accepted types for the Component column are Run, Bend, Tee, Reducer, Valve, Flexible Joint,
and Flange. The Nominal Diameter column specifies the pipe’s nominal diameter. The
Global/Local column determines whether the coordinates are absolute, relative to the origin
(global), or relative to the last entry in the worksheet (local).
The Nominal Diameter, X, Y and Z columns may have units defined in a UNT file located in the
AutoPIPE install directory. This UNT file will be selected in the Import Coordinates dialog.
Note that AutoPIPE only reads the first tab in the workbook. Since the first tab does not contain
any records, copy the values in the Example tab of the template file and paste them into the
appropriate columns in the Coordinates tab. Save the Excel file in a different location and close
Excel.
If the file is not of a valid format, the following dialog will display. Check that the table headers
match the template exactly.
Import the model. If successful, AutoPIPE will display the imported model by itself. Select point
C00, which will be the base point to connect to A10.
AutoPIPE
Open WALKTHRU model in
AutoPIPE
Create a new AutoCAD drawing named ACAD1.dwg. Create two lines, the first from the origin
to 120 inches along the +Y Axis. The second line starts at the end of the first and ends 24 inches
on the +Z Axis. Save the model.
Open the Drawing Units dialog through Application Menu > Drawing Utilities > Units, or
through Format > Units. Set the type to decimal, the precision to ‘0.00’ and close the dialog.
Open the Data Extraction dialog through Insert > Linking & Extraction > Extract Data. The
coordinate data is taken from the AutoCAD model and save it into an Excel worksheet. For step
1, create a new data extraction.
User can save the extraction settings as template, Save the dxe file as Settings.dxe.
Select the current drawing as the drawing of interest. AutoCAD will use this drawing to
generate the Excel sheet by utilizing the user-determined length type.
At step 4, AutoPIPE requires six properties: End X, End Y, End Z, Start X, Start Y and Start Z.
Step 5 shows all the data ready to be exported. Take note of any issues in the table and resolve
them here.
Note that AutoPIPE imports coordinates in the order that they appear here. Ensure that the
origin will be imported first, as shown above. Press Next.
For step 6, determine the location of the output file and leave the name as ACAD1.xls. Ensure
that this file is using the xls extension.
Finally, click Next and Finish to export the model.
Click on the Browse button and navigate to the location of the new Excel file. Set the Input
Units File field to IMPERIAL, which reflects what was used in AutoCAD. Select the pipe nominal
diameter to be used for the incoming model as 8.000 inches. Check the Transform Vertical Axis
of Existing Model from Z to Y, which will automatically set Vertical Up field to Y. The vertical
axis of the AutoCAD model must match the vertical axis of the AutoPIPE model.
Valid types are Architectural, Engineering, Decimal, Fractional and Scientific. Set the type to
Decimal, which should be the same as the option selected in the AutoCAD model. If desired,
check the Convert Kinks to Bends Automatically. This option inserts a long radius elbow on
each kink. Tight pipe turns intended for small pipe sizes may give some warning messages “Not
enough clearance to fit bend”. Import the model by clicking the Import button.
The original model will be replaced with the imported model in the view window. AutoPIPE will
request a point on the model that will be used to attach it to the original model. Set the Base
Point for the imported model as point 1. This point will be attached to the WALKTHRU models
point B04. Click OK on the base point dialog in the bottom left to switch back to the original
model.
The Paste dialog requests an option to be selected. Click OK to accept the default option of
Connect to selected points.
A note dialog mentions that the piping codes of source and target models are different. Click OK
to close this note and import the model.
Importing Bentley MicroStation Coordinates from CSV
Work Flow – Importing Bentley MicroStation Coordinates
Open PIPM03.dgn
Set the Master and Sub unit files Settings > Design File > Working
to Feet/Inches Units
Bentley MicroStation
AutoPIPE
Open WALKTHRU model
Select the center line string. Open the Tool Boxes dialog through Tools > Tool Boxes (Ctrl + T)
and add XYZ text to the selection. Press OK.
Select the output file through Browse button and Press Single button to export only the
selected coordinates. As a result a text file will be generated with the x,y and z coordinates in a
comma separated format. The following is the first few lines of the text file.
Import model to AutoPIPE
After creating the Excel worksheet, open the AutoPIPE WALKTHRU model, located in the
Examples folder of the AutoPIPE install directory. Select point B04; this will be the point that
the model will be imported onto.
Open the Import Coordinates dialog through File > Insert Model > MicroStation Coordinates.
Note that since MicroStation use a vertical Z axis, AutoPIPE will automatically convert the
WALKTHRU model to have a vertical Z axis as well. To undo this operation after the import,
check the Transform Vertical Axis of Existing Model from Z to Y. Note that the Vertical Up field
automatically updates to Y. The vertical axes of AutoPIPE and MicroStation must be the same
for a successful import. Set the Input Units Files field to ENGLISH units that correspond with the
units used in the MicroStation model. English units are in feet and inches and SI units are in
millimeters and meters.
Set Nominal Diameter to 8.000 inches and ensure the Vertical Up is set to Y. Since the vertical
axis for the WALKTHRU model is Y, check this field to transform the vertical axis. Click Import to
import the CVS file into the model.
The original model will be replaced with the imported model in the view window. AutoPIPE will
request a point on the model that will be used to attach it to the original model. Set the Base
Point for the imported model as point 1.
The WALKTHRU model is displayed in the view window again, as well as the Paste dialog. Click
OK to accept the default option.
A note dialog mentions that the piping codes of source and target models are different. Click OK
to close this note.
Miscellaneous Information
Limitations with Importing MicroStation Coordinates
Since MicroStation only generates a series of X, Y and Z coordinate components, AutoPIPE
assumes that all imported coordinates are connected. Importing non-continuous components is
possible by importing them separately.
Due to limitations with Excel 2007, the maximum amount of records allowed for import is
1,048,576.