Author Topic: How obtains "JOIN" the order, returns to "T" OR "NIL" the value?  (Read 4820 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: How obtains "JOIN" the order, returns to "T" OR "NIL" the value?
« Reply #15 on: March 04, 2007, 08:03:36 AM »
yep, was just posting that CAB

Was on my was to bed.. :-)
Woke up with this one.
Code: [Select]
(not(vl-every 'entget (list ena enb)))
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How obtains "JOIN" the order, returns to "T" OR "NIL" the value?
« Reply #16 on: March 05, 2007, 05:27:51 AM »
nice Alan .. that answers the next question...

A :
Code: [Select]
(not(vl-every 'entget (list enA enB enC)));;or
Code: [Select]
(not(vl-every 'entget (ss->List ss)))
Q :
Quote
How do I test for more than 2 Lines selected ?
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: How obtains "JOIN" the order, returns to "T" OR "NIL" the value?
« Reply #17 on: March 05, 2007, 07:49:23 AM »
And to complete the requirement: :-)

Code: [Select]
(defun ss->List (ss)
  (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))
)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Didge

  • Bull Frog
  • Posts: 211
Re: How obtains "JOIN" the order, returns to "T" OR "NIL" the value?
« Reply #18 on: March 08, 2007, 09:37:02 AM »
Sorry for hijacking your thread Hunterxyz, I just had a quick question for these guys relating to "vl-cmdf "

Can this function be used with an active DCL box on-screen, or does it cause probs in a similar manner to "Command" ?
Think Slow......