Hint
(VL-STRING-LEFT-TRIM "0" "0.10")
You also need to change the precision for Lee's round function to 1:
(lm:roundto (atof (vla-get-textstring o)) 1)
Definitely, don't skimp on the RAM. When dealing with large file sizes, like Photoshop files, the more RAM the better. I have 24 GB of RAM in my current computer, but when I make my next purchase, I'll be going with 32 GB.
Hi,
Just replace the string mode "_X" with this "_:L" which would allow you to use the window selection along with filter to avoid selecting objects that are reside on locked layer.
NOTE: I recommend to add some codes to check if the selected object resides on a locked layer, then just alert a message to the user and exit the program quietly without processing.
So if you followed the above note then just remove the string mode "_X" and that would be enough.
found another (haven't tried it) but its about the same problem
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-dynamic-block-with-visibility-state-pre-selected/td-p/4713881
On the other site you posted in, it was unclear if you use CTB or LWEIGHT settings to control lineweights (or PLINEs with width settings) nor what your exact PLOT settings are. Can you clarify with a lot more details please?
Or use ETRANSMIT to post your file here for others to examine.
We do appreciate your "Thank you's", but next time, instead of quoting everyone and posting "Thank you" several times, just click the little heart icon in the lower right corner of the persons post. This allows you to thank people without cluttering the thread with a bunch of "Thank you" posts.