Jump to content

LISP - select objects of specific type


Vittorio

Recommended Posts

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • BIGAL

    8

  • Vittorio

    6

  • ronjonp

    3

  • Aftertouch

    3

Actualy there is.

 

(vla-get-SolidType (vlax-ename->vla-object (car (entsel))))

returns : 'Sphere'
Edited by Aftertouch
Link to comment
Share on other sites

7 hours ago, BIGAL said:

Thanks Aftertouch Missed that when I did dumpit so could check type of solid.

 

SolidType (RO) =   "Sphere"

 

SolidType (RO) = "Box"

 

No problem,

I was suprised by your first awnser that it wasnt possible lol, i tought that if somebody knew, it would have been you, haha. 🙂

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