Files
zmVault/2026-01-05.md
T

1.6 KiB

id, aliases, title, tags
id aliases title tags
2026-01-05
authorship/original
destiny/permanent
status/draft
type/daily

2026-01-05

2026-01-05 15:44

Bluebeam Scripting

Built-In

C:\Program Files\Bluebeam Software\Bluebeam Revu\21\Help\Bluebeam Script Reference.pdf

## Search

### Description

Searches the text in the underyling PDF content and optionally applies text based markups to the results. Returns a list of markup IDs.

### Parameters

pTerm [String]: Term to search for
pCaseSensitive [Bool, Optional]: Boolean value specifiying whether to match case
pWholeWordOnly [Bool, Optional]: Boolean value specifiying whether to only return whole word matches
pMarkup [String, Optional]: Markup properties as string dictionary. An empty string signifies that no markup will be created
pAddTextToComment [Bool, Optional]: If a markup is created, specifies that the search term will be placed in the comment field
pPageRange [String, Optional]: List or range of pages to be searched, -1 will search all pages, exp: 1,2,10-20

### Example

Search("electrical")

This would have been a godsend if I was still at Ace, it will still be useful for coloring circuits.

% script.bci
Open("H:\zmeyers\jobs\2100 Crystal Drive - VA, HR\Schedules from Electrical.pdf")
Search("schedule",false,false,"{'comment':'The color is red','color':'#FF0000'}")
Close(true)
C:\Program Files\Bluebeam Software\Bluebeam Revu\21\Revu\ScriptEngine.exe script.bci

Model Context Protocol

C:\Program Files\Bluebeam Software\Bluebeam Revu\21\Revu\mcp\Bluebeam MCP Server.exe

There must be a way to get the CLI return its syntax

JetBrains DotPeek