Home
Current location: Home > CAM > CimatronE > CimatronE SDK >

IPickToolEvents::OnEntityPressed

  

IPickToolEvents::OnEntityPressed

Description

This method is used when a user presses an entity.

Syntax

OnEntityPressed( EntityXDisplayPositionYDisplayPosition );

Input: (IEntity) Entity

A pressed entity.

Input: (Long) XDisplayPosition

X-coordinate of mouse position.

Input: (Long) YDisplayPosition

Y-coordinate of mouse position.

Note

The mouse position coordinates are coordinates displayed in the document view. The start coordinate system is in the upper left-hand corner of the view.

------Separation line ----------------------------