Brand new....please help

Discussion of other Lisp dialects (Arc, Clojure, AutoLisp, XLISP, etc.)

Brand new....please help

Postby 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]
ruffrider011
 
Posts: 1
Joined: Thu Mar 08, 2012 3:27 pm

Re: Brand new....please help

Postby 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.
User avatar
nuntius
 
Posts: 498
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to Other Dialects

Who is online

Users browsing this forum: No registered users and 1 guest