.NET

.NET

Reply
Valued Contributor
87 Posts
0 Kudos
Registered: ‎03-06-2012
Post 1 of 5

To Off layer only in selected view port in paper space

258 Views, 4 Replies
03-29-2012 05:11 AM

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

*Expert Elite*
1,286 Posts
37 Kudos
Registered: ‎06-21-2004
Post 2 of 5

Re: To Off layer only in selected view port in paper space

03-29-2012 06:12 AM in reply to: chockalingam

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

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



(defun botsbuildbots() (botsbuildbots))
Valued Contributor
87 Posts
0 Kudos
Registered: ‎03-06-2012
Post 3 of 5

Re: To Off layer only in selected view port in paper space

03-29-2012 09:05 PM in reply to: chockalingam

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

*Expert Elite*
1,286 Posts
37 Kudos
Registered: ‎06-21-2004
Post 4 of 5

Re: To Off layer only in selected view port in paper space

03-30-2012 06:08 AM in reply to: chockalingam

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))
Valued Contributor
95 Posts
1 Kudo
Registered: ‎11-15-2011
Post 5 of 5

Re: To Off layer only in selected view port in paper space

03-31-2012 06:24 AM in reply to: chockalingam

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post