CoCreate User Forum  

Go Back   CoCreate User Forum > Old NewsGroup Archive > Archive Forums > Annotator

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-26-1998, 11:58 PM
Robert Aronsson
Guest
 
Posts: n/a
text-reference in annotation-module

What sort of info is it possible to put in a customized-frame with text-reference in annotation-module? Could I get partname? Date? Or...? What's the inq. to get this info? I have study the Customization pages for annotation in the html documentation but I can't find what I'm looking for. I have managed to get the sheet-scale in my frames! But to get more I need some help or info!
  #2  
Old 03-02-1999, 06:24 PM
John van Doorn
Guest
 
Posts: n/a
re: text-reference in annotation-module

Hi Robert, Here is an example for putting the date and the username in the Title block table: This piece of code needs to placed in the am_customize file:

(docu-unregister-tr-group "Sheet_local")
(docu-register-tr-group "Sheet_local" "SHEET")
(docu-register-tr-type "Sheet_local" "SHEET_NO" "???" 'docu::docu-get-current-sheet-name)
(docu-register-tr-type "Sheet_local" "SHEET_SCALE" "???" 'docu::docu_inq_curr_sheet_scale_text)
(docu-unregister-tr-group "Sheet_global") (docu-register-tr-group "Sheet_global" "GLOBAL")
(docu-register-tr-type "Sheet_global" "SHEETS" "???" 'docu::docu-inq-highest-sheet-name)
(docu-register-tr-type "Sheet_global" "DRAWING_NO" "???" 'docu::docu_inq_drawing_number_text)
(docu-register-tr-type "Sheet_global" "DRAWN_BY" "???" 'my-get-username)
(docu-register-tr-type "Sheet_global" "DATE" "???" 'my-tr-get-date)
(defun my-get-username () (sd-sys-getenv "USERNAME"))
(defun my-tr-get-date () (multiple-value-bind (sec min hour day month year) (decode-universal-time (get-universal-time)) (declare (ignore sec) (ignore min) (ignore hour)) (format nil "~2,'0d-~2,'0d-~A" day month year) ) )

If you look to the integration kit manuals, you will find all kind of inq commands that you can use. Good luck
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -8. The time now is 12:55 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.