Hi:
Yes, this can be done.
Replace the Sink process logic with the logic below, modifying the end part number (currently 20).
Regards,
Martin
-- -------------------------------------------------------------
--
-- Modified Sink Process Logic
--
-- -------------------------------------------------------------
Procedure my_sink_proc_logic()
Var
load_proc : Process
idx : Integer
my_int_var : Integer
Begin
require part ANY
-- Before deleting the part, if any Load process is
-- attached to the sink do it
if( celem->class->load_process <> NULL ) then
load_proc = do_load_process( )
if (load_proc == NULL) then
--
-- No pass till load process pre_req are available
--
return
endif
endif
for idx = 1 to celem->num_in_parts do
destroy( celem->in_parts[1] )
endfor
if (celem->num_processed == 20) then
my_int_var = sim_terminate(0)
endif
End
Martin BARNES |
|||
Senior Software Consultant , Manufacturing - Consulting & Technical Services |
|||
|
|||
Office: +1 248 205 5227 |
|
||
DS Americas Corp. | 900 North Squirrel Road, Suite 100 | Auburn Hills, MI 48326 | United States |
--
You received this message because you are subscribed to the Google Groups "delmia_quest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
delmia_quest...@googlegroups.com.
To post to this group, send email to
delmia...@googlegroups.com.
Visit this group at https://groups.google.com/group/delmia_quest.
For more options, visit https://groups.google.com/d/optout.
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.complia...@3ds.com
For other languages, go to https://www.3ds.com/terms/email-disclaimer