Navisworks API

Reply
Active Member
6 Posts
0 Kudos
Registered: ‎08-01-2011
Post 1 of 2

Camera near/far planes

199 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
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 2

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