Jump to content

"Visible" property of entities within a block with visibility states doesn't seem to update based on visibility state.


Recommended Posts

Posted

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?

Posted (edited)

Regen after changing states?

Edited by mhupp
Posted
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.

Posted

Maybe try Leemac.com dynamic block lisp it has various functions for get and set dynamic block properties.

 

Look at LM:getvisibilitystate

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...