Jump to content

Recommended Posts

Posted

Example first:

User writes MOVE. Autocad asks for objects. User selects 3 objects, but hits NO Return! CMD Line still says "Select objects". He calls my lisp routine (GetNewSS) and hits return. GetNewSS is supposed to return a new selection according to what is already selected (3 objects in our case). So far everything is fine.

 

But I don't know how to get current selection while Selection is wanted...

 

I tried following and didn't work:

1) (SSGet "_I")

2) (SSGetFirst)

Both returns NIL...

 

I know it could easily be done if user would select objects BEFORE executing MOVE. But it is not possible.

 

Any suggestions will be kindly accepted. Thanks!

 

 

To explain a little more:

 

Write "MOVE" to Cmd and hit Return.

Select an object, but don't hit return (don't close selection).

Now write "(SSGet "_I")". It returns nil instead selected object...

Posted

Posting your code would make helping you A LOT easier.

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