.NET

Reply
Valued Contributor
chockalingam
Posts: 82
Registered: ‎03-06-2012
Message 1 of 5 (250 Views)

To Off layer only in selected view port in paper space

250 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*
arcticad
Posts: 1,285
Registered: ‎06-21-2004
Message 2 of 5 (237 Views)

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
chockalingam
Posts: 82
Registered: ‎03-06-2012
Message 3 of 5 (213 Views)

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*
arcticad
Posts: 1,285
Registered: ‎06-21-2004
Message 4 of 5 (191 Views)

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
FFlix
Posts: 95
Registered: ‎11-15-2011
Message 5 of 5 (170 Views)

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.