| 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 2 | ;;; Copyright (C) Kongsberg Oil & Gas Technologies. All rights reserved. |
| 3 | ;;; Written by [email protected], 2000-10-03. |
| 4 | |
| 5 | (define basekit (new-sobasekit)) |
| 6 | |
| 7 | ;; Get SoNodeKitListPart (SoBaseKit's "callbackList" part) |
| 8 | (define nodekitlist (sonodekitlistpart-cast (-> basekit 'getpart (new-sbname "callbackList") 1))) |
| 9 | (-> nodekitlist 'addchild (new-soeventcallback)) |
| 10 | |
| 11 | (define writeaction (new-sowriteaction)) |
| 12 | (-> writeaction 'apply nodekitlist) |
| 13 | |
| 14 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 15 | ;;; Scratch area ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 16 |