NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Report.ProgramInformation Class Reference

Represents the program information for command automation. More...

Inheritance diagram for NXOpen.Report.ProgramInformation:
NXOpen.TaggedObject NXOpen.INXObject NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  LanguageType {
  None, CPlusplus, CSharp, Vb,
  Java, Python
}
 Represents the automation program. More...
 

Public Member Functions

unsafe NXOpen.INXObject FindObject (string journalIdentifier)
 Finds the NXOpen.NXObject with the given identifier as recorded in a journal. More...
 
unsafe void Print ()
 Prints a representation of this object to the system log file. More...
 
unsafe void SetName (string name)
 Sets the custom name of the object. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. 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 string FunctionName [get, set]
 Returns or sets the program entry function name. More...
 
unsafe bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
unsafe string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
unsafe
NXOpen.Report.ProgramInformation.LanguageType 
Language [get, set]
 Returns or sets the automation program language. More...
 
unsafe string Name [get]
 Returns the custom name of the object. More...
 
unsafe NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
unsafe NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
unsafe string ProgramFile [get, set]
 Returns or sets the automation program executer file. More...
 
unsafe NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 
- Properties inherited from NXOpen.TaggedObject
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...
 
- Properties inherited from NXOpen.INXObject
bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
string Name [get]
 Returns the custom name of the object. More...
 
NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents the program information for command automation.

Created in NX11.0.0

Member Enumeration Documentation

Represents the automation program.

Enumerator
None 

None language

CPlusplus 

C plus plus language

CSharp 

C sharp language

Vb 

Visual basic language

Java 

Java language

Python 

Python language

Member Function Documentation

unsafe NXOpen.INXObject NXOpen.Report.ProgramInformation.FindObject ( string  journalIdentifier)
inline

Finds the NXOpen.NXObject 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 NX3.0.0

License requirements: None.

Parameters
journalIdentifierJournal identifier of the object
Returns

Implements NXOpen.INXObject.

unsafe void NXOpen.Report.ProgramInformation.Print ( )
inline

Prints a representation of this object to the system log file.

Created in NX3.0.0

License requirements: None.

Implements NXOpen.INXObject.

unsafe void NXOpen.Report.ProgramInformation.SetName ( string  name)
inline

Sets the custom name of the object.

NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.

Created in NX3.0.0

License requirements: None.

Parameters
name

Implements NXOpen.INXObject.

Property Documentation

unsafe string NXOpen.Report.ProgramInformation.FunctionName
getset

Returns or sets the program entry function name.

CPlusplus language: the function name is the exported function following required interface, Java language: the function name is the exported java class name, CSharp, Vb and Python language: the function name is "Main".

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Report.ProgramInformation.IsOccurrence
get

Returns whether this object is an occurrence or not.

Created in NX3.0.0

License requirements: None.

unsafe string NXOpen.Report.ProgramInformation.JournalIdentifier
get

Returns the identifier that would be recorded in a journal for this object.

This may not be the same across different releases of the software.

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.Report.ProgramInformation.LanguageType NXOpen.Report.ProgramInformation.Language
getset

Returns or sets the automation program language.

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.Report.ProgramInformation.Name
get

Returns the custom name of the object.

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.Assemblies.Component NXOpen.Report.ProgramInformation.OwningComponent
get

Returns the owning component, if this object is an occurrence.

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.BasePart NXOpen.Report.ProgramInformation.OwningPart
get

Returns the owning part of this object

Created in NX3.0.0

License requirements: None.

unsafe string NXOpen.Report.ProgramInformation.ProgramFile
getset

Returns or sets the automation program executer file.

CPlusplus language: the dll file, CSharp language: the CS file or CS dll file, Vb language: the VB file or VB dll file, Java language: the Jar file, Python language: the Py file.

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.INXObject NXOpen.Report.ProgramInformation.Prototype
get

Returns the prototype of this object if it is an occurrence.

Created in NX3.0.0

License requirements: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.