Class Hierarchy
AcDbGripData
C++
class AcDbGripData;
File
dbgrip.h
Description
This class describes a specific grip for a specific entity. It allows applications with control over grips to
- Draw their own grip glyph graphics
- Perform custom operations when the user picks or hovers over a grip
- Control a right-click menu that involves grips
- Receive detailed notification about a grip editing operation
When a custom class implements the AcDbEntity::getGripPoints() function, it fills the AcDbGripDataArray argument with AcDbGripData objects, one per grip point.
The AcDbGripData object contains two members that define the grip: the actual 3d point for the grip and a pointer to a data structure specified by the custom entity that is used as the identifier for the grip. These two data members are required.
The object also includes optional members that contain pointers to callbacks that the host application may call during a grip edit operation to allow the custom entity to do event processing. These pointers may be null if the functionality is not provided.
The object also includes an optional bitmask that controls the appearance of the grip during drag operations. These bit values may be OR'd together.
Links
AcDbGripData Constructor, AcDbGripData Methods, AcDbGripData Operators
See Also
AcDbEntity