Jump to content

Recommended Posts

Posted

Is it possible in lisp to acheive effect like in Autocad's MOVE command? When user is deciding for the destination point, the selection visually follows mouse cursor... Selection is beeing constantly drawn.

 

GetPoint has no such option I think...

Posted

I can visualise three ways to accomplish this.

 

1>

 

(command "_.move" <selectionset> '(0 0 0) pause)

 

 

2>

 

With the use of the Express Tools function:

 

(acet-ss-drag-move)

 

 

3>

 

Using a GrRead loop to track cursor movements and update the position of the objects accordingly. Although this method restricts use of Ortho and OSnap.

Posted

Uou, Man! Thanks. I'll go for this GrRead method. Although it might be slow drawing some huge amount of objects... i think it draws it in snap not gradually (like in move tool). Havent checked it jet (no time). But i'll try it soon.

 

BTW this DINFO tool is amazing! Didnt thought something like this can be done with pure Lisp.

Posted
Uou, Man! Thanks. I'll go for this GrRead method. Although it might be slow drawing some huge amount of objects... i think it draws it in snap not gradually (like in move tool). Havent checked it jet (no time). But i'll try it soon.

 

BTW this DINFO tool is amazing! Didnt thought something like this can be done with pure Lisp.

 

 

hehe thanks :P

 

Glad you like it :)

  • 2 weeks later...
Posted

Just done some testing with GRRead...

 

Great function, but since it does not allow OSnap it is useless for geometry transformations (moving, rotating,...)

 

I know OSnap can be built in Lisp from scratch, but hej... even the whole Autocad can be ;)

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...