Document Codeblocks Reference

What's New: 2027

The Document category provides blocks for updating and measuring within the active document.

Update Document

This codeblock updates the current document.

Update Document After Running

This codeblock updates the current document after running the rule.

Save Document

This codeblock saves the current document.

Set Document Edit Scope

For documents with model states other than [Primary], this codeblock sets the edit scope to Factory or Active Member for the specified category. Global means all categories.

Measure

Returns the value measured in the direction indicated.

Available directions are: