removeDrawing: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
[h:removeDrawing("Grasslands", "935F44FC95A54719A05E204A4459F917")]}
[h:removeDrawing("Grasslands", "935F44FC95A54719A05E204A4459F917")]}
</syntaxhighlight>
</syntaxhighlight>
}
}}


[[Category:Metamacro Function]]
[[Category:Metamacro Function]]

Revision as of 05:25, 10 December 2023

removeDrawing() Function

Introduced in version 1.3b51
Removes a drawing from the named map.

Usage

removeDrawing(mapname, drawingID)

Parameters

  • mapname - The name of the map to find the token. Defaults to the current map.
  • DrawingID - The ID of the drawing to be removed.

Both are required. The Drawing ID can be gotten from the Draw Explorer panel.

Examples

Remove a drawing with ID 935F44FC95A54719A05E204A4459F917 from a map named Grasslands.

[h:removeDrawing("Grasslands", "935F44FC95A54719A05E204A4459F917")]}