CoCreate User Forum  

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

Thread Tools Search this Thread Rate Thread Display Modes
Old 06-19-2002, 11:34 PM
Posts: n/a
Textref made by an function

I am trying to make an textref by this sd-inq-obj-mod-time function, but I have to selitem the owner of the drawing. Anyone ??? (docu-register-tr-type "JM_GROUP" "Sidst_modificeret" "???" 'jm-sidst-mod) (defun jm-sidst-mod () (sd-inq-obj-mod-time (selitem)))
Old 06-20-2002, 08:53 PM
Walter Geppert
Posts: n/a
re: Textref made by an function

In a drawing there may be more than one viewset with different owners. This function will return one of them (the first found): (defun dc4-am-desman-get-owner () (let (ret blatt anslist ans) (setf ret nil) (setf blatt (sd-am-inq-curr-sheet)) (when blatt (progn (setf anslist (sd-am-sheet-struct-views (sd-am-inq-sheet blatt))) (when anslist (progn (dolist (ans anslist) (when (and (not ret) (sd-am-view-struct-view-3d (sd-am-inq-view ans))) (progn (setf ret (sd-am-view-set-struct-owner (sd-am-inq-view-set (sd-am-view-struct-view-set (sd-am-inq-view ans )))) );;setf );;progn );;when );;dolist );;progn );;when );;progn );;when (values ret) );;let )

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:08 AM.

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 - 2019, Jelsoft Enterprises Ltd.