|
|
Set viewpoint from JSON AutodeskCommonCamera.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub SetCamera ( _ cameraJson As String _ ) |
| C# |
|---|
public void SetCamera( string cameraJson ) |
| Visual C++ |
|---|
public: void SetCamera( String^ cameraJson ) |
Parameters
- cameraJson
- Type: System..::..String
Camera in the form of a JSON AutodeskCommonCamera object.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Failed to set camera. |