removeDrawing

From RPTools Wiki
Revision as of 05:24, 10 December 2023 by Taustin (talk | contribs) (Created page with "{{stub|Examples of usage.}} {{MacroFunction |name=removeDrawing |version=1.3b51 |description= Removes a drawing from the named map. |usage= <syntaxhighlight lang="mtmacro" line> removeDrawing(mapname, drawingID) </syntaxhighlight> '''Parameters''' {{param|mapname|The name of the map to find the token. Defaults to the current map.}} {{param|DrawingID|The ID of the drawing to be removed.}} Both are required. The Drawing ID can be gotten from the Draw Explorer panel. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Examples of usage.

{{MacroFunction |name=removeDrawing |version=1.3b51 |description= 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")]}