To Off layer only in selected view port in paper space

To Off layer only in selected view port in paper space

chockalingam
Advocate Advocate
621 Views
4 Replies
Message 1 of 5

To Off layer only in selected view port in paper space

chockalingam
Advocate
Advocate

I am trying to create a named viewport in paperspace and have to off selected layer only in selected view port. I Know to do this manually, but i don't get any idea for doing this using .net. 

 

Thanks in advance for any valuable help.....

0 Likes
622 Views
4 Replies
Replies (4)
Message 2 of 5

arcticad
Advisor
Advisor

http://forums.autodesk.com/t5/NET/Viewport-Layer-Control/m-p/2624516/highlight/true#M17528

---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 5

chockalingam
Advocate
Advocate

Thats working............... Is there any way to hide only the selected object in one view port with out hiding the whole layer.

0 Likes
Message 4 of 5

arcticad
Advisor
Advisor

There is a visibility property for the object, but It object specific and not view specific. So it would turn off in all the views.

---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 5 of 5

Anonymous
Not applicable

IF the not-to-show-object viewport is of different scale than other to-show-object viewports, make the bespoke object annonative and assign it the to-show-object viewports' scales

0 Likes