gibbherb Posted March 26, 2023 Posted March 26, 2023 I have a simple block with (2) visibility states. Across both visibility states, there is a total of (2) entities which are simply (2) points. Let's call them P1 and P2. In visibility state 1, only P1 is visible. In visibility state 2, both P1 and P2 are visible. However when I use the method (vlax-get pointObject 'visible) on P2, it always returns 0, which is invisible, even when I am in visibility state 2, where P2 is visible. Do you guys know how to resolve this? Quote
mhupp Posted March 26, 2023 Posted March 26, 2023 (edited) Regen after changing states? Edited March 26, 2023 by mhupp Quote
gibbherb Posted March 26, 2023 Author Posted March 26, 2023 46 minutes ago, mhupp said: Regen after changing states? I tried that. Saved the drawing, closed it and opened it. It looks like P2 retains the visibility property of the "first" visibility state of the block. Quote
BIGAL Posted March 26, 2023 Posted March 26, 2023 Maybe try Leemac.com dynamic block lisp it has various functions for get and set dynamic block properties. Look at LM:getvisibilitystate Quote
Recommended Posts
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.