Jump to content
Developer Wiki and Function Reference Links ×

SetVPLayerVisibility changes Design Layer stacking


PeterT

Recommended Posts

I am using the SetVPLayerVisibility function in a script to hide or show a layer in a viewport by the user's choice.

The problem is that when I show a layer like this when originally hidden, it changes the stacking order of the layers as seen in the viewport and puts the newly visible layer above the other visible layers even if this layer is lower than them in the design layer stacking order.

I cannot believe that this is the intended behavior.

When viewport layers are turned on using the Info Palette, they stack correctly according to stacking order in the layer list. Why should it be any different when turned visible using a script function?

I have only tested this in Top Plan View in VW 11.5 so far. Can anyone verify this, or tell me if there is a work around?

Link to comment

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
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...