Skip to Main Content
Need Support? Let’s guide you to the right answer or agent.
Status Needs review
Categories General
Created by Guest
Created on Jul 3, 2026

QR Code Engine

Hello Bentley, this idea is for a QR Code generator as part of the plot driver.

It can be a new string field in the .PLTCFG file, along with a new set of commands in the .PEN Design Script Engine.

In the .PLTCFG file dialog it would be a new line item called 'QR Code String'; and the value can be text string, or configuration variable or Named Expression.
These text strings are passed to the QR Code Engine and produce a QR Code in the drawing.
The size and scope of the QR Code are based on the size of the Type 6 Shape Element placed in the Sheet Model, and perhaps a minimum resolution of the PDF/Raster.

In the Design Script, as an example I use the Digital Signature logic like this. So to alter it slightly to accommodate a QRCode:


if ((type eq 6) and (color eq 4) and (level_name eq "A-SHEET-QRCODE")) then
action_item = QRCode
action_name = "QR Code"
action_type = QR_field
action_spec = QR_Code # <- This value references the .PLTCFG line item
action_range = Element_range
endif

action_string line item in the Design Script is an optional alternative to the plot config line item.