Bring Structure Into Your Data With Autocad Plant Report Creator
Bring Structure Into Your Data With Autocad Plant Report Creator
Bring Structure Into Your Data With Autocad Plant Report Creator
Learning Objectives
· Define the query of your report
· Use the wizard of DevExpress
· Understand the user interface of Report Designer
· Structuring with Grouping, Sorting, Filtering your report
Description
AutoCAD P&ID and AutoCAD Plant 3D create a whole lot of data while you are drawing. We
show how you start with a simple report and then start grouping and ordering it in the way you
need. We show you how to define the classes you want to use for your report and what how you
layout your report. We explain the user interface of Report Designer of DevExpress so you
know how to work with the different palettes.
Your AU Expert(s)
Carsten Beinecke has worked in the plant industry for 28 years, starting as a drafter and
becoming a supporter and developer for plant software. As the author of books and training
manuals for AutoCAD P&ID and AutoCAD Plant 3D, Carsten has helped numerous customers
set up and customize these software systems. He has a very deep understanding of the
database structure of AutoCAD P&ID and AutoCAD Plant 3D. He supports customers around
the world. Carsten is the Product Manager of PlantTools. He started with the development in
2008. PlantTools are apps for AutoCAD P&ID and AutoCAD Plant 3D.
Page 1
Think First
Before you start creating a new report configuration you should think about the following topics:
§ Sample Documents
Check if you already have some Excel, PDF or other files you can use to see what you try to
accomplish. Or you have a list your customer expect you to deliver.
§ Existing Report
Is there an existing report configuration for Report Creator you can use to get started? Maybe
use an existing equipment list for P&IDs and adapt it to your needs.
How do you want to sort the rows in your report? Do you need to filter to leave something out of
your report?
Scripting is not part of this class. This may be needed if everything else doesn’t give you what
you want. For example, you can group the PipeLineSegments of a PipeLineGroup for a line list.
But then you want to have the different sizes of the PipeLineSegments shown in ascending
order (i.e. ½”, ¾”, 1 ½”, 2”).
§ Layout
How does you report looks like in general? Do you have a header which is used just on the first
page or on each page? What about a logo from you and/or your customer? What project data
from your project setup do you want to see in your header?
Page 2
User Interface
First type in a name. Then you define the query. Next the
Layout.
Finally, you define the Output Type. Do you need one report
per project. For example, when creating an equipment list. Or
do you want the report for each drawing. For example, if you
want an instrumentation list for each P&ID drawing. Or one
report per object. This is used mostly for creating data
sheets.
Defining Query
Page 3
Wizard
When you start a brand-new report configuration and you click on the “Edit report layout…”
button, the wizard of DevExpress automatically opens. If you do not need it, you can click on
cancel and create the layout from scratch.
Page 1
Page 2
Page 3
Page 4
Page 4
Page 5
Page 5
User Interface DevExpress
When the wizard is done, you see the layout of the “Report Designer” which is from the
company DevExpress.
On the left, you see the available tools for your layout. The tools you will most likely use are
“Label” (for text and fields), “Picture Box” (for Logos), “Table”, “Line”.
On the right top, you can switch between the “Report Explorer” which shows the structure of the
layout and the Field list, which are your properties.
Page 6
Structuring
To structure your report the way you want it, you have several options or tools available.
Grouping
Calculation
Filtering
Page 7
Scripting
Scripts can be used when calculations aren’t enough anymore. One example is,
when you see the different sizes of the line segments used for one line group in
descending order.
Page 8
Demo
Writing in detail about the examples shown during class, would be endless. Therefor you can
watch a 50 min video with all the detailed info.
This example uses the Blowers and Pumps class, orders by Tag and has a calculated field to
show the flow capacity.
Page 9
Example 3 – Valves List by Line# and Description + Size + Spec
This is a valve list where the valves are grouped by line number and as a second level of
grouping, they are grouped by Description, Size and Spec to get the number of valves.
This is a report with data coming from 3D piping. It is also grouped by line number and then by
PipeSizeLongDescription.
The video shows each example in a step by step instruction. It shows more than shown during
the class.
Page 10