Brand new....please help

Discussion of other Lisp dialects (Arc, Clojure, AutoLisp, XLISP, etc.)
Post Reply
ruffrider011
Posts: 1
Joined: Thu Mar 08, 2012 3:27 pm

Brand new....please help

Post by ruffrider011 » Thu Mar 08, 2012 3:37 pm

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]

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Brand new....please help

Post by nuntius » Thu Mar 08, 2012 6:42 pm

I'm not familiar with CoCreate. Time delays tend to be system-specific functions. You'll probably have better luck on the CoCreate Forum.

Post Reply