Navisworks API

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

Camera near/far planes

195 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,303
Registered: ‎06-12-2011
Message 2 of 2 (176 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

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