NXOpen .NET Reference
12.0.0
|
Represents a command library in the command manager. More...
Public Types | |
enum | MoveCommandLocation { Before, After } |
Represents the moving command location. More... | |
Public Member Functions | |
unsafe void | GetCommands (out NXOpen.Report.Command[] pCommands) |
Gets all commands in command library. More... | |
unsafe void | Save () |
Saves all commands to their binding xml file. 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 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... | |
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.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... | |
Represents a command library in the command manager.
Not support KF.
Created in NX11.0.0
unsafe NXOpen.INXObject NXOpen.Report.CommandLibrary.FindObject | ( | string | journalIdentifier | ) |
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.
journalIdentifier | Journal identifier of the object |
Implements NXOpen.INXObject.
unsafe void NXOpen.Report.CommandLibrary.GetCommands | ( | out NXOpen.Report.Command[] | pCommands | ) |
Gets all commands in command library.
Created in NX11.0.0
License requirements: None.
pCommands |
unsafe void NXOpen.Report.CommandLibrary.MoveCommands | ( | NXOpen.Report.Command[] | pCommand, |
NXOpen.Report.CommandLibrary.MoveCommandLocation | newLocation, | ||
NXOpen.Report.Command | pReferenceCommand | ||
) |
Moves the commands to the new position.
Created in NX11.0.0
License requirements: None.
pCommand | |
newLocation | |
pReferenceCommand |
unsafe void NXOpen.Report.CommandLibrary.Print | ( | ) |
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 | ( | ) |
Saves all commands to their binding xml file.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.Report.CommandLibrary.SetName | ( | string | name | ) |
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.
name |
Implements NXOpen.INXObject.
|
get |
Returns whether this object is an occurrence or not.
Created in NX3.0.0
License requirements: None.
|
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.
|
get |
Returns the custom name of the object.
Created in NX3.0.0
License requirements: None.
|
get |
Returns the owning component, if this object is an occurrence.
Created in NX3.0.0
License requirements: None.
|
get |
Returns the owning part of this object
Created in NX3.0.0
License requirements: None.
|
get |
Returns the prototype of this object if it is an occurrence.
Created in NX3.0.0
License requirements: None.