Page 1 of 1

Brand new....please help

Posted: Thu Mar 08, 2012 3:37 pm
by ruffrider011
Hi, I am totally new to LISP programming. I have a project at work that requires some programming and I need some help with what I have so far. Basically I have a macro that goes through a bunch of different configurations in a 3D modeling program but I am not sure how to put a time delay between each configuration. Right now the macro just jumps through each configuration really fast. I would love to have just a 2 second delay between each configuration.

Here is the code I have right now. The [ ] areas are where I would love the 2 sec delay:


;; encoding: UTF-8
;%RECORDING-BEGIN at 14:31:00 03/08/2012
;%SD-VERSION: CoCreate Modeling 17.0 (x64 edition) (17.0.2.34)
;! Note, the contents of this file may not be supported by future versions of CoCreate Modeling.
preselect
cfn_activate_double_click_action :add_key :none :config :FULL_NAME :START_NAME "/For_Animation" :CONFIGURATION "anim1_at_0.00" :END_NAME complete
[2 second delay here]
preselect
cfn_activate_double_click_action :add_key :none :config :FULL_NAME :START_NAME "/For_Animation" :CONFIGURATION "anim1_at_4.00" :END_NAME complete
[2 second delay here]
preselect
cfn_activate_double_click_action :add_key :none :config :FULL_NAME :START_NAME "/For_Animation" :CONFIGURATION "config1a" :END_NAME complete
[2 second delay here]
preselect
cfn_activate_double_click_action :add_key :none :config :FULL_NAME :START_NAME "/For_Animation" :CONFIGURATION "config1b" :END_NAME complete
[2 second delay here]
preselect
cfn_activate_double_click_action :add_key :none :config :FULL_NAME :START_NAME "/For_Animation" :CONFIGURATION "config1c" :END_NAME complete
preselect
;%RECORDING-END at 14:31:15 03/08/2012[/code]

Re: Brand new....please help

Posted: Thu Mar 08, 2012 6:42 pm
by nuntius
I'm not familiar with CoCreate. Time delays tend to be system-specific functions. You'll probably have better luck on the CoCreate Forum.