Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/29/2018 in all areas

  1. An excellent idea Grrr! I have now updated the utility to achieve exactly that - I've also rewritten it to handle the various data types more elegantly - thank you for this suggestion.
    1 point
  2. Thanks ronjonp must have cut and pasted wrong.
    1 point
  3. I think you're missing a few closing parenthesis
    1 point
  4. A VLA Layer object does not have a count property - you can check the available properties & methods for an object using the vlax-dump-object function.
    1 point
  5. A little add on not hard codedfor layer name. (defun c:LC ( / layname ) (setq layname (vla-get-layer (vlax-ename->vla-object (car (entsel))))) (if (setq ss (ssget "_X" (list (cons 8 layname)))) (Alert (strcat "\nTotal : " (rtos (sslength ss) 2 0) " entities \n\nIn Layer : " layname)) (Alert (strcat "\nNo entities in Layer : " layname)) ) (princ) ) (c:lc) (vla-get-Layers doc) this gets the list of layer names from the layer table, not objects within that layer.
    1 point
×
×
  • Create New...