NXOpen .NET Reference
12.0.0
|
Represents a collection cameras More...
Public Member Functions | |
NXOpen.Display.Camera[] | ToArray () |
Returns an array of NXOpen.Display.Camera objects. More... | |
unsafe NXOpen.Display.CameraBuilder | CreateCameraBuilder (NXOpen.Display.Camera camera) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic). More... | |
unsafe NXOpen.Display.CameraBuilder | CreateCameraBuilder (NXOpen.Display.Camera camera, bool applyCameraToView) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic). More... | |
unsafe NXOpen.Display.CameraBuilder | CreateCameraBuilder (NXOpen.View view, NXOpen.Layout layout, NXOpen.Display.Camera camera) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic). More... | |
unsafe NXOpen.Display.CameraBuilder | CreateCameraBuilder (NXOpen.View view, NXOpen.Layout layout, NXOpen.Display.Camera camera, bool applyCameraToView) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic). More... | |
unsafe NXOpen.Display.Camera | FindObject (string journalIdentifier) |
Finds the NXOpen.Display.Camera with the given identifier as recorded in a journal. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection cameras
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX5.0.0
unsafe NXOpen.Display.CameraBuilder NXOpen.Display.CameraCollection.CreateCameraBuilder | ( | NXOpen.Display.Camera | camera | ) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic).
Otherwise, a Camera object will be edited. If camera is not a null reference (Nothing in Visual Basic) and the camera is associated with a view other than the work view, then the camera will be applied to the current work view.
Created in NX5.0.0
License requirements: None.
camera | If camera is not a null reference (Nothing in Visual Basic), then this object will be edited |
unsafe NXOpen.Display.CameraBuilder NXOpen.Display.CameraCollection.CreateCameraBuilder | ( | NXOpen.Display.Camera | camera, |
bool | applyCameraToView | ||
) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic).
Otherwise, a Camera object will be edited. If camera is not a null reference (Nothing in Visual Basic) and the camera is associated with a view other than the work view, then the camera will be applied to the current work view if and only if applyCameraToView is true.
Created in NX11.0.0
License requirements: None.
camera | If camera is not a null reference (Nothing in Visual Basic), then this object will be edited |
applyCameraToView | true if the camera is to be applied to its view |
unsafe NXOpen.Display.CameraBuilder NXOpen.Display.CameraCollection.CreateCameraBuilder | ( | NXOpen.View | view, |
NXOpen.Layout | layout, | ||
NXOpen.Display.Camera | camera | ||
) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic).
Otherwise, a Camera object will be edited. Initializes the camera with data from the view in the layout. If camera is not a null reference (Nothing in Visual Basic) and the camera is associated with a view other than the work view, then the camera will be applied to the current work view.
Created in NX6.0.0
License requirements: None.
view | Use this view's data to initialize the camera |
layout | Layout of the view |
camera | If camera is not a null reference (Nothing in Visual Basic), then this object will be edited |
unsafe NXOpen.Display.CameraBuilder NXOpen.Display.CameraCollection.CreateCameraBuilder | ( | NXOpen.View | view, |
NXOpen.Layout | layout, | ||
NXOpen.Display.Camera | camera, | ||
bool | applyCameraToView | ||
) |
Creates a NXOpen.Display.CameraBuilder object if camera is a null reference (Nothing in Visual Basic).
Otherwise, a Camera object will be edited. Initializes the camera with data from the view in the layout. If camera is not a null reference (Nothing in Visual Basic) and the camera is associated with a view other than the work view, then the camera will be applied to the current work view if and only if applyCameraToView is truel.
Created in NX11.0.0
License requirements: None.
view | Use this view's data to initialize the camera |
layout | Layout of the view |
camera | If camera is not a null reference (Nothing in Visual Basic), then this object will be edited |
applyCameraToView | true if the camera is to be applied to its view |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.Display.Camera NXOpen.Display.CameraCollection.FindObject | ( | string | journalIdentifier | ) |
Finds the NXOpen.Display.Camera with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Created in NX5.0.0
License requirements: None.
journalIdentifier | Identifier to be found |
NXOpen.Display.Camera [] NXOpen.Display.CameraCollection.ToArray | ( | ) |
Returns an array of NXOpen.Display.Camera objects.
|
get |
Returns the tag of this object.