cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change layer status of part layer in one specific drawing view ?

Highlighted
Gravel

How to change layer status of part layer in one specific drawing view ?

Hello, does anyone of you know how to change the status of a part layer to hidden in one specific drawing view ?

 

I tried the method View2D.SetLayerDisplayStatus() but this does not seem to work (yet).

It works to use the method pfcLayer.Layer.SetStatus() to change the status of this Layer in the 3D model, but when I pass this Layer as an argument to the method View2D.SetLayerDisplayStatus() to blank it in one specific drawing view this does not work, not even after making the layer status in this drawing independent from the drawing with the method View2D.SetIsViewdisplayLayerDependent(false). (This last thing works well !)

 

Anyone who has succeeded in this ? Any example available ?

 

Thanx,

Tom