NXOpen .NET Reference Guide
|
Represents a ListingWindow. More...
Public Types | |
enum | DeviceType { Window, File, FileAndWindow, None } |
Describes the type of listing window More... | |
Public Member Functions | |
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 | Open () |
Opens the listing window. More... | |
unsafe void | SelectDevice (NXOpen.ListingWindow.DeviceType deviceType, string fileName) |
Changes where the listing window output is sent. More... | |
unsafe void | WriteFullline (string msg) |
Writes a full line to the listing window. More... | |
unsafe void | WriteLine (string msg) |
Writes a line to the listing window. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
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... | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Represents a ListingWindow.
To obtain an instance of this class, refer to NXOpen.Session
Created in NX3.0.0
|
inline |
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.
|
inline |
Closes the listing window actually from the UI.
Created in NX6.0.0
License requirements: None.
|
inline |
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.
|
inline |
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. |
|
inline |
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 |
|
inline |
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.