---
id: 2026-01-05T15:44:50-0500
title: 2026-01-05 15:44:50
tags:
  - status/draft
daily: "[[2026-01-05]]"
---
# 2026-01-05 15:44:50

## Bluebeam Scripting

### Built-In

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

```markdown
## 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.

```bci
% 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)
```

```bash
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
