Modifier and Type | Method and Description |
---|---|
CommandBuilder |
createCommandBuilder(CommandLibrary commandLibrary,
Command command)
Creates the command builder.
|
void |
exportCommandsToLibraryFile(Command[] pCommands,
String libraryFile)
Export selected commands to a library folder zip file.
|
TaggedObject |
find(String journalIdentifier)
Finds the
TaggedObject with the given identifier as recorded in a journal. |
CommandLibrary[] |
getCommandLibraries()
Gets all command libraries.
|
CommandImporter |
newCommandImporter(CommandLibrary pCommandLibrary,
String libraryFile)
Creates a transient object
CommandImporter to import
the selected commands of a command library file to a command library. |
void exportCommandsToLibraryFile(Command[] pCommands, String libraryFile) throws NXException, RemoteException
pCommands
- libraryFile
- Library folder zip file name with full pathNXException
RemoteException
CommandLibrary[] getCommandLibraries() throws NXException, RemoteException
NXException
RemoteException
CommandBuilder createCommandBuilder(CommandLibrary commandLibrary, Command command) throws NXException, RemoteException
commandLibrary
- command
- NXException
RemoteException
CommandImporter newCommandImporter(CommandLibrary pCommandLibrary, String libraryFile) throws NXException, RemoteException
CommandImporter
to import
the selected commands of a command library file to a command library. The object
should be destroyed after finishing import.
pCommandLibrary
- libraryFile
- Library folder zip file name with full pathNXException
RemoteException
TaggedObject find(String journalIdentifier) throws NXException, RemoteException
TaggedObject
with the given identifier as recorded in a journal.
journalIdentifier
- Identifier of the TaggedObject
to be foundNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.