Scripting in Report Creator
Advanced users who like to do some development themselves you can add C#, VB or J# scripts into your reports.
With that you can actually do almost anything you want. You can do complex calculations or in the following case you can get all the line sizes of one Pipe Line Group. If you have an example like this you have Line# 0001with 5 Pipe Line Segments. In you Line List you may want to see the Line# just ones, but you want to see all the different sizes used in this Pipe Line Group.
With the following script you get all the sizes of one Pipe Line Group (this script works for metric sizes only).
using System.Collections.Generic;
List<int> sizesList = new List<int>();
private void AllSizesLabel_SummaryGetResult(object sender, DevExpress.XtraReports.UI.SummaryGetResultEventArgs e)
{
sizesList.Sort();
string str = "";
for (int i = sizesList.Count - 1; i >= 0; i--)
{
if (i < sizesList.Count - 1)
{
str += ",";
}
str += sizesList[i];
}
e.Result = str;
e.Handled = true;
}
private void AllSizesLabel_SummaryReset(object sender, System.EventArgs e)
{
sizesList.Clear();
}
private void AllSizesLabel_SummaryRowChanged(object sender, System.EventArgs e)
{
object val = GetCurrentColumnValue("PipeLines_Size");
if (val != null)
{
int size;
if (Int32.TryParse(val.ToString(), out size))
{
if (!sizesList.Contains(size))
{
sizesList.Add(size);
}
}
}
}
The result could look like this:
Of course you could as well show the largest size only.
Don’t forget there is an extensive documentation of XtraReports at:
http://docs.autodesk.com/PLNT3D/2013/ENU/report_designer.pdf
Consider 3rd party solutions
Some things can’t be configured. It may take some development. Or maybe you have a task at hand about converting drawings
There are several companies out there which can help.
Here are some examples:
Conversion between different CAD systems (UNITEC Germany, http://www.unitec.de/en.html)
Handling all your data (CRM, ECM, EDM, PLM, PPS, PM, ERP) (AXAVIA Austria, http://axavia.at/)
Engineering and Admin Tools (CAD STUDIO ABCOM GmbH (ACPLANT) Germany, http://www.cadstudio.com/)
Pipe Spec Management (CLA Italy, http://www.cla-it.com/)
Look at Plant Exchange (http://autocad.autodesk.com/?nd=plant_home)
Читайте також:
C Complete this extract from a company report with appropriate words or phrases from the box in Exercise B. Choose the correct variant in reported speech for each sentence. Complete the collocations in this report of a rugby match. Financial Reporting From the Court Notes of a Local Reporter GRAMMAR: INDIRECT SPEECH/REPORTED SPEECH How is your day different to Lisa’s? Using sequencers (after that, finally, first, then, next) in the correct order report to the group about your daily routine. HOW TO MAKE A GOOD PRESENTATION OR WRITE A GOOD REPORT / ESSAY / PAPER Later that day you tell another friend what Steve said. Use reported speech. Listen to Adam Phillips’ report for VOA news about Nicholas Negroponte, who combines imagination, engineering and idealism to bring laptops to the world’s children. Make short reports, completing the sentences. Present your report to the group. Reported Paul said (that) he woke up feeling ill, so he didn't go to work. or Paul said (that) he had woken up feeling ill, so he hadn't gone to work.
Не знайшли потрібну інформацію? Скористайтесь пошуком google: