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.CommandLibrary Class Reference

Represents a command library in the command manager. More...

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

Public Types

enum  MoveCommandLocation { Before, After }
 Represents the moving command location. 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 GetCommands (out NXOpen.Report.Command[] pCommands)
 Gets all commands in command library. More...
 
unsafe void MoveCommands (NXOpen.Report.Command[] pCommand, NXOpen.Report.CommandLibrary.MoveCommandLocation newLocation, NXOpen.Report.Command pReferenceCommand)
 Moves the commands to the new position. More...
 
unsafe void Print ()
 Prints a representation of this object to the system log file. More...
 
unsafe void Save ()
 Saves all commands to their binding xml 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 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 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 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 a command library in the command manager.

Not support KF.

Created in NX11.0.0

Member Enumeration Documentation

Represents the moving command location.

Enumerator
Before 

Move commands ahead of a referenced command

After 

Move commands behind a referenced command

Member Function Documentation

unsafe NXOpen.INXObject NXOpen.Report.CommandLibrary.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.CommandLibrary.GetCommands ( out NXOpen.Report.Command[]  pCommands)
inline

Gets all commands in command library.

Created in NX11.0.0

License requirements: None.

Parameters
pCommands
unsafe void NXOpen.Report.CommandLibrary.MoveCommands ( NXOpen.Report.Command[]  pCommand,
NXOpen.Report.CommandLibrary.MoveCommandLocation  newLocation,
NXOpen.Report.Command  pReferenceCommand 
)
inline

Moves the commands to the new position.

Created in NX11.0.0

License requirements: None.

Parameters
pCommand
newLocation
pReferenceCommand
unsafe void NXOpen.Report.CommandLibrary.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.CommandLibrary.Save ( )
inline

Saves all commands to their binding xml file.

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.Report.CommandLibrary.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 bool NXOpen.Report.CommandLibrary.IsOccurrence
get

Returns whether this object is an occurrence or not.

Created in NX3.0.0

License requirements: None.

unsafe string NXOpen.Report.CommandLibrary.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 string NXOpen.Report.CommandLibrary.Name
get

Returns the custom name of the object.

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.Assemblies.Component NXOpen.Report.CommandLibrary.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.CommandLibrary.OwningPart
get

Returns the owning part of this object

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.INXObject NXOpen.Report.CommandLibrary.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.