public interface ReusableObjectPasteBuilder extends Builder
ReusableObjectPasteBuilder
ReusableObjectManager
class to create a ReusableObjectPasteBuilder. Modifier and Type | Interface and Description |
---|---|
static class |
ReusableObjectPasteBuilder.PasteMethods
Specifies the design option
|
Modifier and Type | Method and Description |
---|---|
boolean |
associative()
Returns the option specifying whether to associate the csys of reuse object to target entity
License requirements: None. |
NXObject |
dropFace()
Returns the drop face required for reattach sketch when using one-pick position method
License requirements: None. |
Matrix3x3 |
dynamicCsysOrientation()
Returns the orientation of dynamic csys
License requirements: None. |
Point3d |
dynamicCsysOrigin()
Returns the origin of dynamic csys
License requirements: None. |
NXObject |
editFeatureGroup()
Returns the feature group created after reuse paste
License requirements: None. |
NXObject[] |
getCreatedObjects()
Gets the created objects
License requirements: None. |
SpreadsheetData |
getSpreadsheetData()
Gets the spreadsheet data
License requirements: None. |
NXObject |
importedSketch()
Returns the imported sketch
License requirements: None. |
Point3d |
initialPasteLocation()
Returns the initial paste location, this is mainly used to define default paste location of sketch objects
License requirements: None. |
String |
libraryName()
Returns the library name.
|
NXObject[] |
loadPart(String partFileName,
NXObject dropEntity)
Imports given part file to current work part
License requirements: None. |
ReusableObjectPasteBuilder.PasteMethods |
pasteMethod()
Returns the design option to select Boolean operation type
License requirements: None. |
void |
repositionBody(Point3d target,
Matrix3x3 orient,
boolean twoPickPositionMode)
Moves the body to the selected point and orientation
License requirements: None. |
void |
setAssociative(boolean associative)
License requirements: None. |
void |
setDropFace(NXObject face)
License requirements: None. |
void |
setDynamicCsysOrientation(Matrix3x3 orientation)
License requirements: None. |
void |
setDynamicCsysOrigin(Point3d origin)
License requirements: None. |
void |
setEditFeatureGroup(NXObject featureGroup)
License requirements: None. |
void |
setImportedSketch(NXObject sketch)
License requirements: None. |
void |
setInitialPasteLocation(Point3d dropLocation)
License requirements: None. |
void |
setLibraryInformation(NXObject feature,
String libraryName,
String relativePath)
Sets library information for the feature
License requirements: None. |
void |
setLibraryName(String libraryName)
License requirements: None. |
void |
setPasteMethod(ReusableObjectPasteBuilder.PasteMethods pasteMethod)
License requirements: None. |
void |
setSpreadsheetData(SpreadsheetData spreadsheetData)
Sets the spreadsheet data
License requirements: None. |
void |
setTargetBody(NXObject body)
License requirements: None. |
void |
setTargetFace(NXObject face)
License requirements: None. |
void |
setUseOnePickPositionMethod(boolean useOnePickPositionMethod)
License requirements: None. |
NXObject |
targetBody()
Returns the target body required for boolean operation
License requirements: None. |
NXObject |
targetFace()
Returns the target face required for solid punch
License requirements: None. |
void |
updateSpreadsheetData()
Updates the spreadsheet data according to the expressions in part
License requirements: None. |
boolean |
useOnePickPositionMethod()
Returns the option specifying whether to use one-pick position method for drag/drop
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
ReusableObjectPasteBuilder.PasteMethods pasteMethod() throws NXException, RemoteException
NXException
RemoteException
void setPasteMethod(ReusableObjectPasteBuilder.PasteMethods pasteMethod) throws NXException, RemoteException
pasteMethod
- NXException
RemoteException
Point3d initialPasteLocation() throws NXException, RemoteException
NXException
RemoteException
void setInitialPasteLocation(Point3d dropLocation) throws NXException, RemoteException
dropLocation
- Drop location coordinates in absoluteNXException
RemoteException
boolean useOnePickPositionMethod() throws NXException, RemoteException
NXException
RemoteException
void setUseOnePickPositionMethod(boolean useOnePickPositionMethod) throws NXException, RemoteException
useOnePickPositionMethod
- NXException
RemoteException
boolean associative() throws NXException, RemoteException
NXException
RemoteException
void setAssociative(boolean associative) throws NXException, RemoteException
associative
- NXException
RemoteException
NXObject editFeatureGroup() throws NXException, RemoteException
NXException
RemoteException
void setEditFeatureGroup(NXObject featureGroup) throws NXException, RemoteException
featureGroup
- NXException
RemoteException
Point3d dynamicCsysOrigin() throws NXException, RemoteException
NXException
RemoteException
void setDynamicCsysOrigin(Point3d origin) throws NXException, RemoteException
origin
- Origin of dynamic csysNXException
RemoteException
Matrix3x3 dynamicCsysOrientation() throws NXException, RemoteException
NXException
RemoteException
void setDynamicCsysOrientation(Matrix3x3 orientation) throws NXException, RemoteException
orientation
- Orientation of dynamic csysNXException
RemoteException
NXObject targetBody() throws NXException, RemoteException
NXException
RemoteException
void setTargetBody(NXObject body) throws NXException, RemoteException
body
- Target bodyNXException
RemoteException
NXObject targetFace() throws NXException, RemoteException
NXException
RemoteException
void setTargetFace(NXObject face) throws NXException, RemoteException
face
- Target faceNXException
RemoteException
NXObject dropFace() throws NXException, RemoteException
NXException
RemoteException
void setDropFace(NXObject face) throws NXException, RemoteException
face
- Drop faceNXException
RemoteException
NXObject importedSketch() throws NXException, RemoteException
NXException
RemoteException
void setImportedSketch(NXObject sketch) throws NXException, RemoteException
sketch
- Imported sketchNXException
RemoteException
SpreadsheetData getSpreadsheetData() throws NXException, RemoteException
NXException
RemoteException
void setSpreadsheetData(SpreadsheetData spreadsheetData) throws NXException, RemoteException
spreadsheetData
- Spreadsheet dataNXException
RemoteException
void updateSpreadsheetData() throws NXException, RemoteException
NXException
RemoteException
void repositionBody(Point3d target, Matrix3x3 orient, boolean twoPickPositionMode) throws NXException, RemoteException
target
- Destination pointorient
- OrientationtwoPickPositionMode
- Flag specifying whether to reposition the body based on active sketch plane when using two pick position method to drop the body. If True, reposition the body, else, do nothing.NXException
RemoteException
String libraryName() throws NXException, RemoteException
NXException
RemoteException
void setLibraryName(String libraryName) throws NXException, RemoteException
libraryName
- Library nameNXException
RemoteException
void setLibraryInformation(NXObject feature, String libraryName, String relativePath) throws NXException, RemoteException
feature
- Reusable object featurelibraryName
- Library namerelativePath
- Relative path where library is locatedNXException
RemoteException
NXObject[] loadPart(String partFileName, NXObject dropEntity) throws NXException, RemoteException
partFileName
- Part file namedropEntity
- Selected body face or datum plane of CSYSNXException
RemoteException
NXObject[] getCreatedObjects() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.