removeDrawing: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (recategorised from metamacro to drawing)
 
(5 intermediate revisions by one other user not shown)
Line 14: Line 14:


Both are required. The Drawing ID can be gotten from the Draw Explorer panel.
Both are required. The Drawing ID can be gotten from the Draw Explorer panel.
[[File:Get Drawing Id.png|500px|Drawing ID can be gotten from the Draw Explore panel.]]


==Examples==
==Examples==
Line 22: Line 26:
}}
}}


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

Latest revision as of 05:19, 17 March 2024

removeDrawing() Function

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.


Drawing ID can be gotten from the Draw Explore panel.


Examples

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

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