Navisworks API

Reply
Active Member
afshin.j
Posts: 6
Registered: ‎08-01-2011
Message 1 of 2 (194 Views)

Camera near/far planes

194 Views, 1 Replies
02-20-2012 02:46 PM

Hi,

 

I'm looking for a way to read Camera's near and far planes values of an specific viewpoint.

I know when you export saved viewpoints to an xml file, the near and far values will be there, but I'm looking for an straight way to get them within my code in C#.

 

Will be appreciated if someone help me throw.

Best regards,

 

Afshin

ADN Support Specialist
xiaodong.liang
Posts: 1,274
Registered: ‎06-12-2011
Message 2 of 2 (175 Views)

Re: Camera near/far planes

03-06-2012 04:52 AM in reply to: afshin.j
Hi, Currently, the properties are available in COM API State.MaxNearDistance     State.MinFarDistance


Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

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.