sim.addDrawingObjectAdds a drawing object that will be displayed in the scene. Drawing objects are containers that hold several items of a given type. This can be used for several different applications (simulation of paint, simulation of welding seam, display of 3D objects, etc.). Drawing objects created in a simulation script will be automatically removed at simulation end Synopsisint drawingObjectHandle = sim.addDrawingObject(int objectType, float size, float duplicateTolerance,
int parentObjectHandle, int maxItemCount,
list color = None)
int drawingObjectHandle = sim.addDrawingObject(int objectType, float size, float duplicateTolerance,
int parentObjectHandle, int maxItemCount,
float[3] color = nil)
Arguments
Return values
|