public interface FastenerAssy extends Builder
FastenerAssy
FastenerAssyCollection.createBuilder()
Property | Value |
---|---|
ComponentPatternBuilder.PatternService.AlongPathDefinition.XOnPathSpacing.NCopies.Value | 2 |
ComponentPatternBuilder.PatternService.AlongPathDefinition.XOnPathSpacing.SpaceType | Offset |
ComponentPatternBuilder.PatternService.AlongPathDefinition.XPathOption | Offset |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YDirectionOption | Section |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YOnPathSpacing.NCopies.Value | 1 |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YPathOption | Offset |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.NCopies.Value | 1 |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.PitchDistance.Value | 10 (millimeters part), 1 (inches part) |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.SpaceType | Offset |
ComponentPatternBuilder.PatternService.AlongPathDefinition.YSpacing.SpanDistance.Value | 100 (millimeters part), 10 (inches part) |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.NCopies.Value | 12 |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.PitchAngle.Value | 30 |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.PitchDistance.Value | 10 (millimeters part), 1 (inches part) |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.SpaceType | Offset |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.SpanAngle.Value | 360 (millimeters part), 360 (inches part) |
ComponentPatternBuilder.PatternService.CircularDefinition.AngularSpacing.UsePitchOption | Angle |
ComponentPatternBuilder.PatternService.CircularDefinition.CreateLastStaggered | true |
ComponentPatternBuilder.PatternService.CircularDefinition.HorizontalRef.RotationAngle.Value | 0 (millimeters part), 0 (inches part) |
ComponentPatternBuilder.PatternService.CircularDefinition.IncludeSeedToggle | true |
ComponentPatternBuilder.PatternService.CircularDefinition.RadialSpacing.NCopies.Value | 1 |
ComponentPatternBuilder.PatternService.CircularDefinition.StaggerType | None |
ComponentPatternBuilder.PatternService.HelixDefinition.AnglePitch.Value | 30 |
ComponentPatternBuilder.PatternService.HelixDefinition.CountOfInstances.Value | 6 |
ComponentPatternBuilder.PatternService.HelixDefinition.DirectionType | Righthand |
ComponentPatternBuilder.PatternService.HelixDefinition.DistancePitch.Value | 10 (millimeters part), 0.4 (inches part) |
ComponentPatternBuilder.PatternService.HelixDefinition.HelixPitch.Value | 50 (millimeters part), 2 (inches part) |
ComponentPatternBuilder.PatternService.HelixDefinition.HelixSpan.Value | 100 (millimeters part), 4 (inches part) |
ComponentPatternBuilder.PatternService.HelixDefinition.NumberOfTurns.Value | 2 |
ComponentPatternBuilder.PatternService.HelixDefinition.SizeOption | CountAngleDistance |
ComponentPatternBuilder.PatternService.PatternFill.FillMargin.Value | 0 (millimeters part), 0 (inches part) |
ComponentPatternBuilder.PatternService.PatternFill.FillOptions | None |
ComponentPatternBuilder.PatternService.PatternFill.SimplifiedBoundaryToggle | False |
ComponentPatternBuilder.PatternService.PatternOrientation.AlongOrientationOption | NormalToPath |
ComponentPatternBuilder.PatternService.PatternOrientation.CircularOrientationOption | FollowPattern |
ComponentPatternBuilder.PatternService.PatternOrientation.FollowFaceProjDirOption | PatternPlaneNormal |
ComponentPatternBuilder.PatternService.PatternOrientation.GeneralOrientationOption | Fixed |
ComponentPatternBuilder.PatternService.PatternOrientation.HelixOrientationOption | FollowPattern |
ComponentPatternBuilder.PatternService.PatternOrientation.LinearOrientationOption | Fixed |
ComponentPatternBuilder.PatternService.PatternOrientation.MirrorOrientationOption | FollowPattern |
ComponentPatternBuilder.PatternService.PatternOrientation.OrientationOption | Fixed |
ComponentPatternBuilder.PatternService.PatternOrientation.PolygonOrientationOption | FollowPattern |
ComponentPatternBuilder.PatternService.PatternOrientation.SpiralOrientationOption | FollowPattern |
ComponentPatternBuilder.PatternService.PatternType | Linear |
ComponentPatternBuilder.PatternService.PolygonDefinition.NumberOfSides.Value | 6 |
ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSizeOption | Inscribed |
ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.NCopies.Value | 4 |
ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.PitchDistance.Value | 25 (millimeters part), 1 (inches part) |
ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.SpaceType | Offset |
ComponentPatternBuilder.PatternService.PolygonDefinition.PolygonSpacing.SpanAngle.Value | 360 |
ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.NCopies.Value | 1 |
ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.PitchDistance.Value | 25 (millimeters part), 1 (inches part) |
ComponentPatternBuilder.PatternService.PolygonDefinition.RadialSpacing.SpanDistance.Value | 100 (millimeters part), 4 (inches part) |
ComponentPatternBuilder.PatternService.RectangularDefinition.CreateLastStaggered | true |
ComponentPatternBuilder.PatternService.RectangularDefinition.SimplifiedLayoutType | Square |
ComponentPatternBuilder.PatternService.RectangularDefinition.StaggerType | None |
ComponentPatternBuilder.PatternService.RectangularDefinition.XSpacing.NCopies.Value | 2 |
ComponentPatternBuilder.PatternService.RectangularDefinition.YSpacing.NCopies.Value | 1 |
ComponentPatternBuilder.PatternService.SpiralDefinition.DirectionType | Lefthand |
ComponentPatternBuilder.PatternService.SpiralDefinition.NumberOfTurns.Value | 1 (millimeters part), 1 (inches part) |
ComponentPatternBuilder.PatternService.SpiralDefinition.RadialPitch.Value | 50 (millimeters part), 2 (inches part) |
ComponentPatternBuilder.PatternService.SpiralDefinition.SizeSpiralType | NumberOfTurns |
ComponentPatternBuilder.PatternService.SpiralDefinition.TotalAngle.Value | 360 (millimeters part), 360 (inches part) |
Modifier and Type | Interface and Description |
---|---|
static class |
FastenerAssy.HoleOperation
Represents the action on the hole menu of the fastener assembly.
|
static class |
FastenerAssy.ModeMethod
Represents adding and editing modes for the fastener assembly
|
static class |
FastenerAssy.SelectionObjectMethod
Represents selection object type
|
static class |
FastenerAssy.SelectionTypeMethod
Represents selection type for position and hole
|
static class |
FastenerAssy.StackTypeMethod
Represents screw_array type
|
Modifier and Type | Method and Description |
---|---|
void |
addParentNewPart(String fileName,
int index,
boolean parentNode)
Adds new part for the parent node
License requirements: None. |
void |
addRemovalHoleIndex(int index)
Add the removal hole index in the fastener setup data
License requirements: None. |
void |
addScrewArray(String krxFile,
String lengthMatch,
String libPath,
String libName,
String fullPath,
int index,
FastenerAssy.StackTypeMethod type)
Adds stack array
License requirements: None. |
NXObject |
addTopNode(Point3d point,
Point3d direction,
NXObject selObject,
int index)
Adds top node for the fastener assembly
License requirements: None. |
void |
adjustFastenerLength(int parentIndex,
int childIndex,
FastenerAssy.StackTypeMethod nodeType)
Adjusts the fastener assembly length
License requirements: None. |
ComponentPatternBuilder |
componentPatternBuilder()
Returns the current component pattern builder
License requirements: None. |
void |
createArrayHole(int index)
Creates array hole data for the fastener assembly
License requirements: None. |
void |
createFastenerConstraints(int index)
Creates fastener assembly constraint
License requirements: None. |
void |
createPatternComponent(boolean createPattern)
Create the pattern component when the positioining pattern sketch feature is not exsit; edit pattern component when the positioining pattern feature is exsit
License requirements: None. |
void |
createPositioningFeatureOnPoint(NXObject selobj,
Point3d inputPosition,
boolean centerFace)
Create positioning feature on the given position
License requirements: None. |
AddReusablePart |
createReusableBuilder(int parentIndex,
int childIndex,
FastenerAssy.StackTypeMethod nodeType)
Creates new reusable builder
License requirements: None. |
void |
createReusablePocket(boolean commit)
Creates reusable pocket
License requirements: None. |
void |
createSameAssemblyData(int addedIndex,
int index)
Creates the same assembly data type
License requirements: None. |
void |
deleteArrayHole(int index)
Deletes array hole data for the fastener assembly
License requirements: None. |
void |
deleteReusablePocket()
Deletes reusable pocket
License requirements: None. |
void |
eraseAssemblyData(int parentIndex)
Erases the assembly data
License requirements: None. |
void |
eraseFastenerAssembly(int parentInx,
boolean removeParent,
boolean removeScrew,
boolean removeStack,
boolean removeArray,
boolean removeBuilder,
boolean initscrewBuilder,
boolean initstackBuilder,
boolean removeData)
Erases fastener assembly
License requirements: None. |
void |
eraseFastenerAssemblyData(int index)
Erases the fastener assembly data, including the hole data and assembly data in the fastener setup data
License requirements: None. |
void |
eraseFastenerSetupData()
Erases the data (hole and assembly data) in fastener assembly
License requirements: None. |
void |
eraseStackArray(int parentIndex,
int inx,
FastenerAssy.StackTypeMethod type)
Erases stack array
License requirements: None. |
Feature |
findPositioningFeatureSet()
Find the positioning feature set by pattern sketch
License requirements: None. |
FastenerAssy.ModeMethod |
getFastenerMode()
Gets the fastener mode
License requirements: None. |
FastenerAssy.SelectionTypeMethod |
getFastenerSelectionType()
Gets the selection type for the hole in the fastener assembly
License requirements: None. |
ReusablePocketBuilder |
getReusablePocketBuilder()
Gets the reusable pocket builder
License requirements: None. |
void |
initPocketBuilder()
Inits pocket builder
License requirements: None. |
void |
offsetPositioningFeature(double offsetValue)
Offset the positioning feature
License requirements: None. |
Sketch |
positioningFeature()
Returns the positioning feature that needed for fastener assembly
License requirements: None. |
void |
readAssemblyConfigure(int holeNum,
Component partOcc)
Reads fastener assembly configuration data from the hole data
License requirements: None. |
void |
removeFastenerConstraints(int index)
Removes fastener assembly constraint
License requirements: None. |
void |
removeSelectedHole()
Removes the selected hole from the fastener setup data
License requirements: None. |
void |
renameParentNode(int index,
String newname)
Renames the parent node
License requirements: None. |
void |
saveDropPointPosition(Point3d tempPnt)
Keep the first drop point position
License requirements: None. |
void |
saveUdoData()
Saves UDO data for fastener assembly
License requirements: None. |
void |
selectScrewSize(int inx,
double diameter,
double origindiameter,
boolean selDiameter)
Selects the screw size
License requirements: None. |
void |
setAssemblyExtentLength(int index,
double extentLength)
Sets the extent length for the fastener assembly data
License requirements: None. |
void |
setBlindHole(int inx,
boolean blindhole)
Sets the blind hole for the hole in the fastener assembly
License requirements: None. |
void |
setComponentPatternBuilder(ComponentPatternBuilder patternComponentBuilderTag)
License requirements: None. |
void |
setCreatePocket(boolean create)
Sets the flag to indicate whether to create pocket when adding the fastener
License requirements: None. |
void |
setDefaultPlanarFaces(NXObject defaultPlanarFace,
int inx)
Sets the default planar face for the hole in the fastener assembly
License requirements: None. |
void |
setFastenerExtentLength(double extentLength)
Sets the extent length for the hole in the fastener assembly
License requirements: None. |
void |
setFastenerMode(FastenerAssy.ModeMethod modeMethod)
Sets the fastener mode
License requirements: None. |
void |
setFastenerSelectionType(FastenerAssy.SelectionTypeMethod selectionType)
Sets the selection type for the hole in the fastener assembly
License requirements: None. |
void |
setHoleDatumCsys(NXObject datumCsys,
int index)
Sets the datum CSYS for the hole in the fastener assembly
License requirements: None. |
void |
setHoleDefaultCylindricalFace(NXObject defaultCylFaces,
int index)
Sets the default cylindrical face for the hole in the fastener assembly
License requirements: None. |
void |
setHoleDiameter(double diameter,
int index)
Sets the diameter for the hole in the fastener assembly
License requirements: None. |
void |
setHoleDirection(Point3d direction,
int index)
Sets the direction for the hole in the fastener assembly
License requirements: None. |
void |
setHoleFaces(NXObject holeFace,
int index)
Sets the faces for the hole in the fastener assembly
License requirements: None. |
void |
setHoleHeight(double height,
int index)
Sets the height for the hole in the fastener assembly
License requirements: None. |
void |
setHoleOriginDiameter(double originDiameter,
int index)
Sets the origin diameter for the hole in the fastener assembly
License requirements: None. |
void |
setHoleOriginHeight(double originheight,
int index)
Sets the origin height for the hole in the fastener assembly
License requirements: None. |
void |
setHoleOriginPosition(Point3d originposition,
int index)
Sets the origin position for the hole in the fastener assembly
License requirements: None. |
void |
setHolePosition(Point3d position,
int index)
Sets the position for the hole in the fastener assembly
License requirements: None. |
void |
setHoleSideCylindricalFaces(NXObject sideCylFace,
int index)
Sets the side cylindrical faces for the hole in the fastener assembly
License requirements: None. |
void |
setInstanceFeatureFaces(NXObject instanceFeature,
int inx)
Sets the instance feature face for the hole in the fastener assembly
License requirements: None. |
void |
setItemName(String partName,
String itemName)
Adds item description for the part
License requirements: None. |
void |
setPositioningFeature(Sketch sketch)
License requirements: None. |
void |
setReusablePocketBuilder(ReusablePocketBuilder pocketTag)
Sets the reusable pocket builder
License requirements: None. |
void |
setReuseBuilder(int index,
FastenerAssy.StackTypeMethod nodeType,
int childIndex,
Component partOcc)
Sets the reuse builder
License requirements: None. |
void |
setSidePlanarFaces(NXObject sidePlanarFace,
int index)
Sets the side planar faces for the hole in the fastener assembly
License requirements: None. |
void |
substituteFastenerStack(int parentIndex,
int childIndex,
FastenerAssy.StackTypeMethod nodeType,
String partFile,
String krxFile,
String libName,
String pathInLib,
String lengthMatch,
String fullPath)
Substitutes fastener stack
License requirements: None. |
void |
updateDefaultStandard(int index,
String standard,
String form,
String type)
Updates default standard hole data for the fastener assembly configuration
License requirements: None. |
void |
updateFastenerLength(boolean adjustLength)
Updates the fastener length
License requirements: None. |
void |
updateFastenerStacks(int parentIndex,
boolean updateScrew,
boolean updatePocket)
Updates fastener stacks
License requirements: None. |
void |
updateHoleData(int inx,
double originheight,
Point3d originPoint,
boolean threadhole,
boolean blindhole)
Updates the hole data
License requirements: None. |
void |
updateHolePostion(int parentIndex,
Point3d dirOne,
Point3d tempPnt,
Point3d pointOne,
double height,
double orignHeight,
double offSetDistance)
Updates the hole positon for position method
License requirements: None. |
void |
updateStackPosition(int parentIndex,
int childIndex,
FastenerAssy.StackTypeMethod nodeType,
double deltaLength)
Updates the fastener assembly after changing stacks or changing stack properties
License requirements: None. |
void |
updateTopBottomStacks(int index,
FastenerAssy.SelectionObjectMethod type,
boolean isSameFace,
NXObject face)
Updates fastener assembly according to the new extends
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
NXObject addTopNode(Point3d point, Point3d direction, NXObject selObject, int index) throws NXException, RemoteException
point
- The point of the fastener to assembledirection
- The direciton of the fastener to assembleselObject
- The default cylindrical face of the hole data, selObject type should be FACEindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleDiameter(double diameter, int index) throws NXException, RemoteException
diameter
- The diameter of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleDirection(Point3d direction, int index) throws NXException, RemoteException
direction
- The direcion of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleSideCylindricalFaces(NXObject sideCylFace, int index) throws NXException, RemoteException
sideCylFace
- The side cylinderical Face of the hole dataindex
- The hole index in the fastener assembly, sideCylFace type should be FACENXException
RemoteException
void setCreatePocket(boolean create) throws NXException, RemoteException
create
- Whether the fastener assembly is created pocketNXException
RemoteException
void setHoleFaces(NXObject holeFace, int index) throws NXException, RemoteException
holeFace
- The hole face of the hole data, holeFace type is FACEindex
- The hole index in the fastener assemblyNXException
RemoteException
void addScrewArray(String krxFile, String lengthMatch, String libPath, String libName, String fullPath, int index, FastenerAssy.StackTypeMethod type) throws NXException, RemoteException
krxFile
- The krx file of the stacklengthMatch
- The length match from fastener data and given nodelibPath
- Ask fastener library pathlibName
- Ask fastener library namefullPath
- Stack file full pathindex
- The hole index in the fastener assemblytype
- The stack type methodNXException
RemoteException
void addParentNewPart(String fileName, int index, boolean parentNode) throws NXException, RemoteException
fileName
- New fastener assembly parent node nameindex
- The hole index in the fastener assemblyparentNode
- Whether the fastener assembly node is parentNXException
RemoteException
void setItemName(String partName, String itemName) throws NXException, RemoteException
partName
- The part nameitemName
- Item nameNXException
RemoteException
void setHolePosition(Point3d position, int index) throws NXException, RemoteException
position
- The position of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleDefaultCylindricalFace(NXObject defaultCylFaces, int index) throws NXException, RemoteException
defaultCylFaces
- The default cylindrical faces of the hole data, defaultCylFaces type should be FACEindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleOriginPosition(Point3d originposition, int index) throws NXException, RemoteException
originposition
- The origin position of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleHeight(double height, int index) throws NXException, RemoteException
height
- The height of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setHoleOriginHeight(double originheight, int index) throws NXException, RemoteException
originheight
- The origin height of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setFastenerExtentLength(double extentLength) throws NXException, RemoteException
extentLength
- The extent Length of the fastener assemblyNXException
RemoteException
void setHoleOriginDiameter(double originDiameter, int index) throws NXException, RemoteException
originDiameter
- The origin diameter of the hole dataindex
- The hole index in the fastener assemblyNXException
RemoteException
void setFastenerSelectionType(FastenerAssy.SelectionTypeMethod selectionType) throws NXException, RemoteException
selectionType
- The selection type to add the fastener assemblyNXException
RemoteException
FastenerAssy.SelectionTypeMethod getFastenerSelectionType() throws NXException, RemoteException
NXException
RemoteException
void setHoleDatumCsys(NXObject datumCsys, int index) throws NXException, RemoteException
datumCsys
- The datum csys of the hole dataindex
- The hole index in the fastener assembly, datumCsys type should be AxisNXException
RemoteException
void updateFastenerLength(boolean adjustLength) throws NXException, RemoteException
adjustLength
- Whether to adjust length in the fastener assemblyNXException
RemoteException
void createSameAssemblyData(int addedIndex, int index) throws NXException, RemoteException
addedIndex
- find the the hole index with the same parameter and node type in the fastener assemblyindex
- the hole index in the fastener assemblyNXException
RemoteException
void eraseStackArray(int parentIndex, int inx, FastenerAssy.StackTypeMethod type) throws NXException, RemoteException
parentIndex
- Parent indexinx
- Child indextype
- The stack type methodNXException
RemoteException
void eraseFastenerAssembly(int parentInx, boolean removeParent, boolean removeScrew, boolean removeStack, boolean removeArray, boolean removeBuilder, boolean initscrewBuilder, boolean initstackBuilder, boolean removeData) throws NXException, RemoteException
parentInx
- parent indexremoveParent
- whether to remove parent instanceremoveScrew
- whether to remove screwremoveStack
- whether to remove top stack and bottom stackremoveArray
- whether to remove component arrayremoveBuilder
- whether to remove builderinitscrewBuilder
- whether to initialize screw builderinitstackBuilder
- whether to initialize stack builderremoveData
- whether to remove dataNXException
RemoteException
void eraseFastenerSetupData() throws NXException, RemoteException
NXException
RemoteException
void createFastenerConstraints(int index) throws NXException, RemoteException
index
- the hole index in the fastener assembly to create constraintsNXException
RemoteException
void removeFastenerConstraints(int index) throws NXException, RemoteException
index
- the hole index in the fastener assembly to delete constraintsNXException
RemoteException
void setSidePlanarFaces(NXObject sidePlanarFace, int index) throws NXException, RemoteException
sidePlanarFace
- The side planar face of the hole data, sidePlanarFace type should be FACEindex
- The hole index in the fastener assemblyNXException
RemoteException
void setDefaultPlanarFaces(NXObject defaultPlanarFace, int inx) throws NXException, RemoteException
defaultPlanarFace
- The default planar face of the hole data, defaultPlanarFace type should be FACEinx
- The hole index in the fastener assemblyNXException
RemoteException
void setInstanceFeatureFaces(NXObject instanceFeature, int inx) throws NXException, RemoteException
instanceFeature
- The instance feature face of the hole data, instanceFeature type should be FACEinx
- The hole index in the fastener assemblyNXException
RemoteException
void adjustFastenerLength(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType) throws NXException, RemoteException
parentIndex
- parent indexchildIndex
- child indexnodeType
- the stack type methodNXException
RemoteException
void updateFastenerStacks(int parentIndex, boolean updateScrew, boolean updatePocket) throws NXException, RemoteException
parentIndex
- parent indexupdateScrew
- whether to update screwupdatePocket
- whether to update pocketNXException
RemoteException
void updateHoleData(int inx, double originheight, Point3d originPoint, boolean threadhole, boolean blindhole) throws NXException, RemoteException
inx
- parent indexoriginheight
- origin height in hole dataoriginPoint
- origin point in hole datathreadhole
- whether the hole is thread holeblindhole
- whether the hole is blind holeNXException
RemoteException
void createReusablePocket(boolean commit) throws NXException, RemoteException
commit
- whether to create pocketNXException
RemoteException
void deleteReusablePocket() throws NXException, RemoteException
NXException
RemoteException
void selectScrewSize(int inx, double diameter, double origindiameter, boolean selDiameter) throws NXException, RemoteException
inx
- parent indexdiameter
- diameter in hole dataorigindiameter
- origin diameter in hole dataselDiameter
- whether to select diameterNXException
RemoteException
AddReusablePart createReusableBuilder(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType) throws NXException, RemoteException
parentIndex
- parent node index in the fastener assemblychildIndex
- child node index in the fastener assemblynodeType
- the stack type methodAddReusablePart
instanceNXException
RemoteException
void substituteFastenerStack(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType, String partFile, String krxFile, String libName, String pathInLib, String lengthMatch, String fullPath) throws NXException, RemoteException
parentIndex
- parent node index in the fastener assemblychildIndex
- child node index in the fastener assemblynodeType
- the stack type methodpartFile
- part filekrxFile
- krx filelibName
- library namepathInLib
- library pathlengthMatch
- the length match from fastener data and given nodefullPath
- screw file full pathNXException
RemoteException
void saveUdoData() throws NXException, RemoteException
NXException
RemoteException
void setFastenerMode(FastenerAssy.ModeMethod modeMethod) throws NXException, RemoteException
modeMethod
- NXException
RemoteException
FastenerAssy.ModeMethod getFastenerMode() throws NXException, RemoteException
NXException
RemoteException
void eraseAssemblyData(int parentIndex) throws NXException, RemoteException
parentIndex
- parent indexNXException
RemoteException
void updateHolePostion(int parentIndex, Point3d dirOne, Point3d tempPnt, Point3d pointOne, double height, double orignHeight, double offSetDistance) throws NXException, RemoteException
parentIndex
- parent node indexdirOne
- direction in hole datatempPnt
- position in hole datapointOne
- origin position in hole dataheight
- height in hole dataorignHeight
- origin height in hole dataoffSetDistance
- offset distance in hole dataNXException
RemoteException
void setReuseBuilder(int index, FastenerAssy.StackTypeMethod nodeType, int childIndex, Component partOcc) throws NXException, RemoteException
index
- parent node index in fastener assemblynodeType
- the stack type methodchildIndex
- child hole index in fastener assemblypartOcc
- new part occruanceNXException
RemoteException
void renameParentNode(int index, String newname) throws NXException, RemoteException
index
- parent node index in fastener assemblynewname
- new name for the parent nodeNXException
RemoteException
void createArrayHole(int index) throws NXException, RemoteException
index
- the hole index in the fastener assemblyNXException
RemoteException
void deleteArrayHole(int index) throws NXException, RemoteException
index
- the hole index in the fastener assemblyNXException
RemoteException
void initPocketBuilder() throws NXException, RemoteException
NXException
RemoteException
void updateTopBottomStacks(int index, FastenerAssy.SelectionObjectMethod type, boolean isSameFace, NXObject face) throws NXException, RemoteException
index
- parent node index in fastener assemblytype
- top object or bottom object typeisSameFace
- whether the fastener assembly is same faceface
- top or bottom faceNXException
RemoteException
void readAssemblyConfigure(int holeNum, Component partOcc) throws NXException, RemoteException
holeNum
- hole numpartOcc
- parent node part occuranceNXException
RemoteException
void setAssemblyExtentLength(int index, double extentLength) throws NXException, RemoteException
index
- hole index in fastener assemblyextentLength
- The extent Length of the fastener assemblyNXException
RemoteException
void updateDefaultStandard(int index, String standard, String form, String type) throws NXException, RemoteException
index
- The hole index in hole map datastandard
- The default hole standard type in the assembly configurationform
- The default hole form in the assembly configurationtype
- The default hole screw type in the assembly configurationNXException
RemoteException
void removeSelectedHole() throws NXException, RemoteException
NXException
RemoteException
void addRemovalHoleIndex(int index) throws NXException, RemoteException
index
- The hole index in the fastener assembly to be removedNXException
RemoteException
void updateStackPosition(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType, double deltaLength) throws NXException, RemoteException
parentIndex
- parent indexchildIndex
- child indexnodeType
- node typedeltaLength
- the stack length to be changedNXException
RemoteException
void setReusablePocketBuilder(ReusablePocketBuilder pocketTag) throws NXException, RemoteException
pocketTag
- The reusable component pocket builderNXException
RemoteException
ReusablePocketBuilder getReusablePocketBuilder() throws NXException, RemoteException
NXException
RemoteException
void eraseFastenerAssemblyData(int index) throws NXException, RemoteException
index
- The hole index in the fastener assembly to be removedNXException
RemoteException
void setBlindHole(int inx, boolean blindhole) throws NXException, RemoteException
inx
- parent indexblindhole
- whether the hole is blind holeNXException
RemoteException
Sketch positioningFeature() throws NXException, RemoteException
NXException
RemoteException
void setPositioningFeature(Sketch sketch) throws NXException, RemoteException
sketch
- Positioning featureNXException
RemoteException
void createPatternComponent(boolean createPattern) throws NXException, RemoteException
createPattern
- Flag to decide whether to create pattern component or edit, set flag as true to create and set flag false to editNXException
RemoteException
Feature findPositioningFeatureSet() throws NXException, RemoteException
NXException
RemoteException
void saveDropPointPosition(Point3d tempPnt) throws NXException, RemoteException
tempPnt
- the first drop point position in hole dataNXException
RemoteException
void setComponentPatternBuilder(ComponentPatternBuilder patternComponentBuilderTag) throws NXException, RemoteException
patternComponentBuilderTag
- The reusable component pattern builderNXException
RemoteException
ComponentPatternBuilder componentPatternBuilder() throws NXException, RemoteException
NXException
RemoteException
void createPositioningFeatureOnPoint(NXObject selobj, Point3d inputPosition, boolean centerFace) throws NXException, RemoteException
selobj
- top or bottom faceinputPosition
- The input positioncenterFace
- whether to use face center as locationNXException
RemoteException
void offsetPositioningFeature(double offsetValue) throws NXException, RemoteException
offsetValue
- the offset distance of the positionging featureNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.