Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello every one
I get this code from lee mac website
can some one explain more about using this code
I have a block and it's name is "Sbeam 12 cm variable length"
and I have a visibility parameter called "Visibility1"
and I need the lisp to give me the name of the visibility state of all of the blocks in a table
I'll upload the DWG
;; Get Dynamic Block Visibility State - Lee Mac ;; Returns the value of the Visibility Parameter of a Dynamic Block (if present) ;; blk - [vla] VLA Dynamic Block Reference object ;; Returns: [str] Value of Visibility Parameter, else nil (defun LM:getvisibilitystate ( blk / vis ) (if (setq vis (LM:getvisibilityparametername blk)) (LM:getdynpropvalue blk vis) ) )
THANKS IN ADVANCE
Solved! Go to Solution.