Jump to content

Is it possible to animate using autolisp?


samifox

Recommended Posts

Hi

 

Just wonder...

 

Let's say...

Ent make circle

After 1 second

Set it's center coordinate 10 units to the right

After 1 second set color to red

Loop 10 times

 

Is it possible to animate using autolisp?

 

Thanks

S

Link to comment
Share on other sites

an example

 

(defun aaa ()
(setvar "osmode" 0)
(setq pt1 (list 0.0 0.0))
(setq pt2 (list 0.0 0.1))
(command "Circle" pt1 2)
(Command "zoom" "C" pt1 50)
(repeat 100
(command "move" "L" "" pt1 pt2)
(command "delay" 10)
)
(command "regen")
)

; to run type (aaa)

Edited by BIGAL
Link to comment
Share on other sites

It's got to be possible I use scripts and put things on there own layer to make selection easier, so Lisp should be a doddle

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...