AutoCAD Plant 3D General DIscussion

AutoCAD Plant 3D General DIscussion

Reply
Distinguished Contributor
gschimmi
Posts: 148
Registered: ‎01-31-2012
Message 1 of 6 (433 Views)
Accepted Solution

Report Creator - picturebox with variable pics

433 Views, 5 Replies
08-16-2013 12:54 AM

Hello

 

in a report I've inserted a picture box. I want to change the URL (path) variable depending on the project with the content of a field in the project properties.

 

Is that possible or are there some other ideas?

 

 

Thanks

 

Guido

Plant3D 2014 German
WIN7
Product Support
Dan.Scales
Posts: 298
Registered: ‎03-05-2010
Message 2 of 6 (387 Views)

Re: Report Creator - picturebox with variable pics

08-22-2013 07:35 AM in reply to: gschimmi

Hi,

 

Just to confirm the question, is it that you want a different image to be used in the report depending on the project that you run the report on?

 

Thanks,

Dan



Dan Scales
Distinguished Contributor
gschimmi
Posts: 148
Registered: ‎01-31-2012
Message 3 of 6 (369 Views)

Re: Report Creator - picturebox with variable pics

08-25-2013 10:43 PM in reply to: Dan.Scales

Hi,

 

yes, this is exactly what I want.

 

Thanks

Plant3D 2014 German
WIN7
Product Support
Dan.Scales
Posts: 298
Registered: ‎03-05-2010
Message 4 of 6 (354 Views)

Re: Report Creator - picturebox with variable pics

08-28-2013 02:20 AM in reply to: gschimmi

Hi Guido,

 

I have logged a feature enhancement request with our developers for this functionality.

 

In the meantime you will need to use a different report for each project that contains the required image.

 

Thanks,
Dan

 



Dan Scales
Employee
PeterQuinn
Posts: 313
Registered: ‎08-15-2007
Message 5 of 6 (336 Views)

Re: Report Creator - picturebox with variable pics

08-30-2013 11:59 AM in reply to: Dan.Scales

The report creator has a very power scripting capability. You can do this with a some scripting. A good place to start is here: http://www.pdoteam.com/2012/06/introduction-to-scripts-with-the-plant-3d-report-creator/



Peter Quinn
Senior Product Manager
Autodesk, Inc.

Distinguished Contributor
gschimmi
Posts: 148
Registered: ‎01-31-2012
Message 6 of 6 (315 Views)

Re: Report Creator - picturebox with variable pics

09-04-2013 04:54 AM in reply to: PeterQuinn

Hi,

 

here is the right answer.

 

I've contacted the support from DevExpress, they developed the reportcreator....

 

********************************************************************************************************

Assuming that the report data source collection includes a data field with the required picture URL value, use the Properties window -> Data Bindings -> Image URL option to link your picture box control to the corresponding data field (see http://screencast.com/t/prRMXWExxtM). It is possible to use this approach to link your picture box control to a report parameter (see the XtraReport.Parameters collection)

*********************************************************************************************************

 

Many, many Thanks to the support.

 

 

Guido

Plant3D 2014 German
WIN7
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Plant 3D Category!

The AutoCAD Plant 3D forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.