public interface CopyCutBuilder extends Builder
CopyCutBuilder
ClipboardOperationsManager.createCopyCutBuilder()
Modifier and Type | Interface and Description |
---|---|
static class |
CopyCutBuilder.Status
Status of Copy or Cut Operation
|
Modifier and Type | Method and Description |
---|---|
boolean |
canCopyAsSketch()
Returns a flag indicating whether to copy as sketch curves or not
License requirements: None. |
String |
destinationFilename()
Returns the string of the filename to which to copy or cut the objects to
License requirements: None. |
CopyCutBuilder.Status |
getCopyCutStatus()
Gets the status of copy-cut operation
License requirements: None. |
NXObject[] |
getNonExportableObjects()
Gets all non-exportable objects
License requirements: None. |
NXObject[] |
getObjects()
Gets all objects to be copied or to be cut
License requirements: None. |
Point3d |
initialCopyLocation()
Returns the initial copy location mainly used to define default copy location of sketch objects
License requirements: None. |
boolean |
isCut()
Returns a flag indicating whether it is a copy or cut operation
License requirements: None. |
void |
resetInitialCopyLocation()
Reset the initial copy location.
|
void |
setCanCopyAsSketch(boolean canCopyAsSketch)
License requirements: None. |
void |
setCut(boolean isCut)
License requirements: None. |
void |
setDestinationFilename(String filename)
License requirements: None. |
void |
setInitialCopyLocation(Point3d copyLocation)
License requirements: None. |
void |
setObjects(NXObject[] objects)
Sets all objects to be copied or to be cut
License requirements: None. |
void |
setToClipboard(boolean isToClipboard)
License requirements: None. |
boolean |
toClipboard()
Returns a flag indicating whether copy cut to clipboard or copy cut to a file
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
CopyCutBuilder.Status getCopyCutStatus() throws NXException, RemoteException
NXException
RemoteException
boolean isCut() throws NXException, RemoteException
NXException
RemoteException
void setCut(boolean isCut) throws NXException, RemoteException
isCut
- NXException
RemoteException
boolean toClipboard() throws NXException, RemoteException
NXException
RemoteException
void setToClipboard(boolean isToClipboard) throws NXException, RemoteException
isToClipboard
- NXException
RemoteException
String destinationFilename() throws NXException, RemoteException
NXException
RemoteException
void setDestinationFilename(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
NXObject[] getNonExportableObjects() throws NXException, RemoteException
NXException
RemoteException
NXObject[] getObjects() throws NXException, RemoteException
NXException
RemoteException
void setObjects(NXObject[] objects) throws NXException, RemoteException
objects
- All the objects to be copied or to be cutNXException
RemoteException
boolean canCopyAsSketch() throws NXException, RemoteException
NXException
RemoteException
void setCanCopyAsSketch(boolean canCopyAsSketch) throws NXException, RemoteException
canCopyAsSketch
- NXException
RemoteException
Point3d initialCopyLocation() throws NXException, RemoteException
NXException
RemoteException
void setInitialCopyLocation(Point3d copyLocation) throws NXException, RemoteException
copyLocation
- Copy location in absolute coordinatesNXException
RemoteException
void resetInitialCopyLocation() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.