public interface ReusablePocketBuilder extends Builder
ReusablePocketCollection.createReusablePocketBuilder()
Property | Value |
---|---|
AutoTarget | true |
ThreadHole | false |
Modifier and Type | Interface and Description |
---|---|
static class |
ReusablePocketBuilder.Hole
Represents hole types.
|
Modifier and Type | Method and Description |
---|---|
void |
addTargetBody(NXObject component,
NXObject targetBody)
Adds target body.
|
void |
addToolComponent(NXObject component)
Adds tool component.
|
boolean |
autoTarget()
Returns the flag specifying whether target is fetched automatically.
|
void |
breakLink(NXObject component)
Breaks link.
|
void |
createPocket(NXObject component)
Creates pocket.
|
void |
deletePocket(NXObject component)
Deletes pocket.
|
void |
recreateHoleSeries(NXObject component,
NXObject feature)
Recreates hole series if hole feature is updated.
|
void |
removeTargetBody(NXObject component,
NXObject targetBody)
Removes target body.
|
void |
removeToolComponent(NXObject component)
Removes tool component.
|
void |
setAutoTarget(boolean autoTarget)
License requirements: None. |
void |
setCounterboreDiameter(NXObject component,
double counterboreDiameter)
Sets counterbore diameter for hole series.
|
void |
setCountersunkDiameter(NXObject component,
double countersunkDiameter)
Sets countersunk diameter for hole series.
|
void |
setDiameter(NXObject component,
double diameter)
Sets diameter for hole series.
|
void |
setFit(NXObject component,
String fit)
Sets fit for hole series.
|
void |
setForm(NXObject component,
String form)
Sets form for hole series.
|
void |
setHoleType(NXObject component,
ReusablePocketBuilder.Hole holeType)
Sets hole type.
|
void |
setReference(NXObject component,
String reference)
Sets reference set.
|
void |
setScrewType(NXObject component,
String screwType)
Sets screw type for hole series.
|
void |
setStandard(NXObject component,
String standard)
Sets standard for hole series.
|
void |
setThreadHole(boolean threadHole)
License requirements: None. |
boolean |
threadHole()
Returns the flag specifying whether thread hole is used.
|
void |
verifyHoleSeries(NXObject component)
Verifies hole series parameters.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
boolean autoTarget() throws NXException, RemoteException
NXException
RemoteException
void setAutoTarget(boolean autoTarget) throws NXException, RemoteException
autoTarget
- NXException
RemoteException
boolean threadHole() throws NXException, RemoteException
NXException
RemoteException
void setThreadHole(boolean threadHole) throws NXException, RemoteException
threadHole
- NXException
RemoteException
void addToolComponent(NXObject component) throws NXException, RemoteException
component
- Tool componentNXException
RemoteException
void deletePocket(NXObject component) throws NXException, RemoteException
component
- Component to which pocket is deletedNXException
RemoteException
void breakLink(NXObject component) throws NXException, RemoteException
component
- Component to which link is brokeNXException
RemoteException
void createPocket(NXObject component) throws NXException, RemoteException
component
- Component to which pocket is createdNXException
RemoteException
void removeToolComponent(NXObject component) throws NXException, RemoteException
component
- Tool component to removeNXException
RemoteException
void setHoleType(NXObject component, ReusablePocketBuilder.Hole holeType) throws NXException, RemoteException
component
- Component to which hole type is setholeType
- Hole typeNXException
RemoteException
void addTargetBody(NXObject component, NXObject targetBody) throws NXException, RemoteException
component
- Component to which target body is addedtargetBody
- Target bodyNXException
RemoteException
void removeTargetBody(NXObject component, NXObject targetBody) throws NXException, RemoteException
component
- Component to which target body is removedtargetBody
- Target bodyNXException
RemoteException
void setStandard(NXObject component, String standard) throws NXException, RemoteException
component
- Component to which standard is setstandard
- Hole series standardNXException
RemoteException
void setForm(NXObject component, String form) throws NXException, RemoteException
component
- Component to which form is setform
- Hole series formNXException
RemoteException
void setScrewType(NXObject component, String screwType) throws NXException, RemoteException
component
- Component to which screw type is setscrewType
- Hole series screw typeNXException
RemoteException
void setFit(NXObject component, String fit) throws NXException, RemoteException
component
- Component to which fit is setfit
- Hole series fitNXException
RemoteException
void setReference(NXObject component, String reference) throws NXException, RemoteException
component
- Component to which reference is setreference
- Reference set with cut bodyNXException
RemoteException
void setCounterboreDiameter(NXObject component, double counterboreDiameter) throws NXException, RemoteException
component
- Component to which counterbore diameter is setcounterboreDiameter
- C-Bore diameter for hole seriesNXException
RemoteException
void setCountersunkDiameter(NXObject component, double countersunkDiameter) throws NXException, RemoteException
component
- Component to which countersunk diameter is setcountersunkDiameter
- C-Sink diameter for hole seriesNXException
RemoteException
void setDiameter(NXObject component, double diameter) throws NXException, RemoteException
component
- Component to which diameter is setdiameter
- Diameter for hole seriesNXException
RemoteException
void verifyHoleSeries(NXObject component) throws NXException, RemoteException
component
- Component to verify hole series parametersNXException
RemoteException
void recreateHoleSeries(NXObject component, NXObject feature) throws NXException, RemoteException
component
- Component to recreate hole seriesfeature
- Feature to be recreatedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.