Class NwcSavedViewpoint
- Namespace
- NwcIO.Model
- Assembly
- NwcIO.dll
Represents a saved viewpoint / camera view in a Navisworks document or federated assembly.
public sealed record NwcSavedViewpoint : IEquatable<NwcSavedViewpoint>Inheritance
Implements
Inherited Members
Properties
Camera
Camera orientation and projection parameters.
public required NwcCamera Camera { get; init; }Property Value
CameraPosition
Convenience accessor for the 3D position of the camera.
public Vector3d? CameraPosition { get; }Property Value
Comments
Optional user comments or review notes associated with this viewpoint.
public IReadOnlyList<string> Comments { get; init; }Property Value
Id
Unique identifier of this saved viewpoint.
public Guid Id { get; init; }Property Value
Name
Display name of the saved viewpoint.
public required string Name { get; init; }Property Value
Redlines
Review redline markup annotations (arrows, text, clouds, tags) drawn on this viewpoint.
public IReadOnlyList<NwcRedline> Redlines { get; init; }Property Value
SectionBox
Optional 3D bounding section box cropping visible geometry in this viewpoint.
public NwcSectionBox? SectionBox { get; init; }Property Value
SectionPlanes
Dynamic clipping section planes active in this viewpoint (up to 6 planes).
public IReadOnlyList<NwcSectionPlane> SectionPlanes { get; init; }Property Value
Methods
CreateDefault(BoundingBox3d, string)
Creates a default perspective viewpoint framing the provided bounding box.
public static NwcSavedViewpoint CreateDefault(BoundingBox3d bounds, string name = "Default View")Parameters
boundsBoundingBox3dnamestring
Returns
CreateTop(BoundingBox3d, string)
Creates an orthographic top (plan) view looking down along -Z.
public static NwcSavedViewpoint CreateTop(BoundingBox3d bounds, string name = "Top View")Parameters
boundsBoundingBox3dnamestring
Returns
LookRotation(Vector3d, Vector3d)
Computes a rotation quaternion looking along direction with the given up vector.
public static Quaterniond LookRotation(Vector3d forward, Vector3d up)