NXOpen .NET Reference
12.0.0
|
Represents a ListingWindow. More...
Public Types | |
enum | DeviceType { Window, File, FileAndWindow, None } |
Describes the type of listing window More... | |
Public Member Functions | |
unsafe void | Open () |
Opens the listing window. More... | |
unsafe void | Close () |
Closes the stream to the listing window. More... | |
unsafe void | CloseWindow () |
Closes the listing window actually from the UI. More... | |
unsafe void | WriteLine (string msg) |
Writes a line to the listing window. More... | |
unsafe void | WriteFullline (string msg) |
Writes a full line to the listing window. More... | |
unsafe void | SelectDevice (NXOpen.ListingWindow.DeviceType deviceType, string fileName) |
Changes where the listing window output is sent. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
unsafe NXOpen.ListingWindow.DeviceType | Device [get] |
Returns the device type for the window. More... | |
unsafe bool | IsOpen [get] |
Returns a flag indicating whether the listing window is open. More... | |
Represents a ListingWindow.
To obtain an instance of this class, refer to NXOpen.Session
Created in NX3.0.0
unsafe void NXOpen.ListingWindow.Close | ( | ) |
Closes the stream to the listing window.
The window itself is not closed. If the listing window is a file, this will flush the buffer and close the file.
Created in NX3.0.0
License requirements: None.
unsafe void NXOpen.ListingWindow.CloseWindow | ( | ) |
Closes the listing window actually from the UI.
Created in NX6.0.0
License requirements: None.
unsafe void NXOpen.ListingWindow.Open | ( | ) |
Opens the listing window.
The listing window must be open before lines can be written to it
Created in NX3.0.0
License requirements: None.
unsafe void NXOpen.ListingWindow.SelectDevice | ( | NXOpen.ListingWindow.DeviceType | deviceType, |
string | fileName | ||
) |
Changes where the listing window output is sent.
The listing window output can be sent to the Information window of the Unigraphics session, to a file, or to both.
Note: file output is buffered. If file output is used, the buffer will not be flushed until the output device is changed again. E.g.
Created in NX3.0.0
License requirements: None.
deviceType | The type of device (file, Information window, or both) |
fileName | Name of the file. Used only if the device type is file. |
unsafe void NXOpen.ListingWindow.WriteFullline | ( | string | msg | ) |
Writes a full line to the listing window.
The listing window must be open before you can write to it. If the listing window is a file, the output is buffered, so the output may not appear in the file until the buffer gets flushed. The buffer is flushed when the listing window gets closed. And number of characters displayed in one line has no limit which is different from NXOpen.ListingWindow.WriteLine
If a null reference (Nothing in Visual Basic) is passed in this method will do nothing.
Created in NX8.5.0
License requirements: None.
msg | Line to write |
unsafe void NXOpen.ListingWindow.WriteLine | ( | string | msg | ) |
Writes a line to the listing window.
The listing window must be open before you can write to it. If the listing window is a file, the output is buffered, so the output may not appear in the file until the buffer gets flushed. The buffer is flushed when the listing window gets closed. And the maximum number of characters displayed in one line is 132.
If a null reference (Nothing in Visual Basic) is passed in this method will do nothing.
Created in NX3.0.0
License requirements: None.
msg | Line to write |
|
get |
Returns the device type for the window.
The device type indicates whether the output for the listing window is sent to the Information window, to a file, or to both
Created in NX3.0.0
License requirements: None.
|
get |
Returns a flag indicating whether the listing window is open.
To open the window, use NXOpen.Arc .
Created in NX3.0.0
License requirements: None.
|
get |
Returns the tag of this object.