Extending product function with VBA : The System Architect object model : Object model classes : Diagram class : Diagram class: Methods : AcceptDropOfTypeAt
  
AcceptDropOfTypeAt
Accepts a Class and Type and requests that this be added to the diagram – equivalent to dragging a type from the Explorer onto a diagram.
Parameters:
v_lngClass As Long: The Class, where 1 is Diagram and 3 is Definition.
v_lngType As Long: The Type number.
ptX, ptY specify a diagram location in 100ths of an inch. The origin (0,0) is at the top-left.
See also
AcceptDropOfType
Diagram_AddItemsAtLocation
Diagram class: Methods