This is an old revision of the document!
This action allows the user to add a given element or plugin onto the canvas or schematic page specified. Return type is a success/failure message in the form of list of strings. The function call takes in 3 arguments.
list<string> AddShape(1: string parentUid, 2: string shapeFullName, 3: Position newPosition)
“Successfully added the element: <pluginUid>”.
Also, when adding a plugin which has predefined sub elements, the Uids of those are also displayed.
1. The given information is incomplete – when the arguments are not conveying the required information
2. Failed to add element
3. Default: Displays the error msg as obtained by the Server application.