Jump to content
  • 0

Merge model layers


lilah

Question

7 answers to this question

Recommended Posts

  • 0

I can't isolate it well enough yet to file a bug, but I'm watching other VW users have that problem once or twice a day.  It's happened to me twice ever.  Both times this week.

 

It must be happening to you, too, David (or people in your office) to make you go and look up the preference in the Vector Script appendix.  

 

Now if we could automate your script to run every time Pref 94 is FALSE…

 

Or just run every 10 minutes :-).

Link to comment
  • 0

This is interesting:

When in a Sheet layer is the active layer the Staked Layer(Unified View) Option is False but when in a Design Layer is active it changes to True

 

346531553_WhenSheetLayerisactiveLayer.png.b1d0641c7c73eaf4069efe00657b8371.png1233201595_WhenDesignLayerisactiveLayer.png.eb29a6c36625e9c679c403c443322a73.png

 

I wonder if sometimes it fails to switch. 

 

if vs.GetObjectVariableInt(vs.ActLayer(), 154) == 2:
    activetype = 'Sheet Layer '
else:
	activetype = 'Design Layer'
if vs.GetPref(94) == 1: 
	BOOL ='TRUE' 
else:
	BOOL ='FALSE'
sl = ('Stack Layers (Unified View) = '+ BOOL)
if vs.GetPref(95) == 1: 
	BOOL1 ='TRUE' 
else:
	BOOL1 ='FALSE'
sl2d = ('Stack Layers (Unified View) Create 2D Objects = '+BOOL1)
if vs.GetPref(96) == 1: 
	BOOL2 ='TRUE' 
else:
	BOOL2 ='FALSE'
sli = ('Stack Layers (Unified View) Ignore Other Scales = '+BOOL2)
if vs.GetPref(98) == 1: 
	BOOL3 ='TRUE' 
else:
	BOOL3 ='FALSE'
slrv = ('Stack Layers (Unified View) Restore Views = '+BOOL3)
if vs.GetPref(99) == 1: 
	BOOL4 ='TRUE' 
else:
	BOOL4 ='FALSE'
slcv = ('Stack Layers (Unified View) Center View = '+BOOL4)
vs.AlrtDialog('Active Layer type = '+activetype+(' '*47)+sl+(' '*49)+sl2d+(' '*22)+sli+(' '*20)+slrv+(' '*26)+slcv)

 

Edited by The Hamma
  • Like 1
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
Answer this question...

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