Use this event to receive a notification before drawing completion in Cimatron, that is a notification before the SwapBuffer event. Code inside this method can be used to draw an object, for more see IOpenGLService.
In this method, the primitive is given as input which indicates the drawing mode.
|
Value |
Mode |
|
1 |
Point |
|
2 |
Line Segments |
|
4 |
Polygon |
|
8 |
Silhouette |
|
16 |
Bitmap |
|
32 |
Text |
|
128 |
Free |
|
256 |
Point cloud |
This is provided as a hexadecimal value, expect to receive a combination similar to the bit operator.
Cimatron 2026 or later
string SwapBufferNotification(object iApp);
n/a
|
Return: None |
|
|
|
|
|
Input: int |
ihdc—HDC Pointer |
|
Input: int |
ihRC—HGLRC Pointer |
|
Input: int |
iPrimitives—Primitives |
|
Input: int |
iApp—Cimatron Application Pointer |
