create_instance

create_instance

For the Preview release, only type==box is supported. Direction is to have all instances supported.

Example

create_instance: function (data){
  console.log(data[0])
}
10101010

(See below image for complete Params)

823823

Params

data : the instance that was created contains props

Access the instance by taking the first element in the event
data[0]

Commonly used:

x_min
x_max
y_max
y_min
width
height
label_file_id
soft_delete
type

Others

angle
auto_border_polygon_p1
auto_border_polygon_p2
center_x
center_y
cp
cuboid_current_drawing_face
edges
front_face
nodes
number
p1
p2
points
rear_face
selected
sequence_id