TODOThe goal of these samples job is to execute your custom command as input into the script file.
Parse drawing content and create a summary
We provide a DrawingSummary sample with the SDK which implements a command that parses the content of a drawing and creates a summary of it.
To try it and run it from your script:
Compile the sample (see /wiki/spaces/KUDOPARTNER/pages/1180434585 or /wiki/spaces/KUDOPARTNER/pages/1180434595 )
Make sure the result plugin is loaded (see /wiki/spaces/KUDOPARTNER/pages/1834450981 )
Run _DRAWINGSUMMARY command from your script with out any parameters
Code Block _DRAWINGSUMMARY
Sample call to run it locally with on-premise version:
Insert an image into a drawing
We provide a InsertImageCommand sample with the SDK which implements a command that inserts an image into a drawing.
To try it and run it from your script:
Compile the sample (see /wiki/spaces/KUDOPARTNER/pages/1180434585 or /wiki/spaces/KUDOPARTNER/pages/1180434595 )
Make sure the result plugin is loaded (see /wiki/spaces/KUDOPARTNER/pages/1834450981 )
Run _INSERTIMAGE command from your script specifying image path (relative in provided resource bundle passed to resourceBundleURL), position, width and height
Code Block _INSERTIMAGE "test.png" 10,10,0 600 400
Sample call to run it locally with on-premise version: