.NET

.NET

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

To Off layer only in selected view port in paper space

253 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,286
Registered: ‎06-21-2004
Message 2 of 5 (240 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: 84
Registered: ‎03-06-2012
Message 3 of 5 (216 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,286
Registered: ‎06-21-2004
Message 4 of 5 (194 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 (173 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.