Class FastenerAssy
Inheritance
System.Object
System.MarshalByRefObject
FastenerAssy
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpen.dll
public class FastenerAssy : Builder, IMessageSink, IComponentBuilder
Constructors
Declaration
Properties
Declaration
public ComponentPatternBuilder ComponentPatternBuilder { get; set; }
Property Value
Declaration
public Sketch PositioningFeature { get; set; }
Property Value
Methods
Declaration
public void AddParentNewPart(string fileName, int index, bool parentNode)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.Int32 |
index |
|
System.Boolean |
parentNode |
|
Declaration
public void AddRemovalHoleIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void AddScrewArray(string krxFile, string lengthMatch, string libPath, string libName, string fullPath, int index, FastenerAssy.StackTypeMethod type)
Parameters
Type |
Name |
Description |
System.String |
krxFile |
|
System.String |
lengthMatch |
|
System.String |
libPath |
|
System.String |
libName |
|
System.String |
fullPath |
|
System.Int32 |
index |
|
FastenerAssy.StackTypeMethod |
type |
|
Declaration
public NXObject AddTopNode(Point3d point, Point3d direction, NXObject selObject, int index)
Parameters
Returns
Declaration
public void AdjustFastenerLength(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType)
Parameters
Declaration
public void CreateArrayHole(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void CreateFastenerConstraints(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void CreatePatternComponent(bool createPattern)
Parameters
Type |
Name |
Description |
System.Boolean |
createPattern |
|
Declaration
public void CreatePositioningFeatureOnPoint(NXObject selobj, Point3d inputPosition, bool centerFace)
Parameters
Type |
Name |
Description |
NXObject |
selobj |
|
Point3d |
inputPosition |
|
System.Boolean |
centerFace |
|
Declaration
public AddReusablePart CreateReusableBuilder(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType)
Parameters
Returns
Declaration
public void CreateReusablePocket(bool commit)
Parameters
Type |
Name |
Description |
System.Boolean |
commit |
|
Declaration
public void CreateSameAssemblyData(int addedIndex, int index)
Parameters
Type |
Name |
Description |
System.Int32 |
addedIndex |
|
System.Int32 |
index |
|
Declaration
public void DeleteArrayHole(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void DeleteReusablePocket()
Declaration
public void EraseAssemblyData(int parentIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
parentIndex |
|
Declaration
public void EraseFastenerAssembly(int parentInx, bool removeParent, bool removeScrew, bool removeStack, bool removeArray, bool removeBuilder, bool initscrewBuilder, bool initstackBuilder, bool removeData)
Parameters
Type |
Name |
Description |
System.Int32 |
parentInx |
|
System.Boolean |
removeParent |
|
System.Boolean |
removeScrew |
|
System.Boolean |
removeStack |
|
System.Boolean |
removeArray |
|
System.Boolean |
removeBuilder |
|
System.Boolean |
initscrewBuilder |
|
System.Boolean |
initstackBuilder |
|
System.Boolean |
removeData |
|
Declaration
public void EraseFastenerAssemblyData(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void EraseFastenerSetupData()
Declaration
public void EraseStackArray(int parentIndex, int inx, FastenerAssy.StackTypeMethod type)
Parameters
Declaration
public Feature FindPositioningFeatureSet()
Returns
Declaration
public FastenerAssy.ModeMethod GetFastenerMode()
Returns
Declaration
public FastenerAssy.SelectionTypeMethod GetFastenerSelectionType()
Returns
Declaration
public ReusablePocketBuilder GetReusablePocketBuilder()
Returns
Declaration
public void InitPocketBuilder()
Declaration
public void OffsetPositioningFeature(double offsetValue)
Parameters
Type |
Name |
Description |
System.Double |
offsetValue |
|
Declaration
public void ReadAssemblyConfigure(int holeNum, Component partOcc)
Parameters
Type |
Name |
Description |
System.Int32 |
holeNum |
|
Component |
partOcc |
|
Declaration
public void RemoveFastenerConstraints(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Declaration
public void RemoveSelectedHole()
Declaration
public void RenameParentNode(int index, string newname)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
newname |
|
Declaration
public void SaveDropPointPosition(Point3d tempPnt)
Parameters
Type |
Name |
Description |
Point3d |
tempPnt |
|
Declaration
public void SaveUdoData()
Declaration
public void SelectScrewSize(int inx, double diameter, double origindiameter, bool selDiameter)
Parameters
Type |
Name |
Description |
System.Int32 |
inx |
|
System.Double |
diameter |
|
System.Double |
origindiameter |
|
System.Boolean |
selDiameter |
|
Declaration
public void SetAssemblyExtentLength(int index, double extentLength)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
extentLength |
|
Declaration
public void SetBlindHole(int inx, bool blindhole)
Parameters
Type |
Name |
Description |
System.Int32 |
inx |
|
System.Boolean |
blindhole |
|
Declaration
public void SetCreatePocket(bool create)
Parameters
Type |
Name |
Description |
System.Boolean |
create |
|
Declaration
public void SetDefaultPlanarFaces(NXObject defaultPlanarFace, int inx)
Parameters
Type |
Name |
Description |
NXObject |
defaultPlanarFace |
|
System.Int32 |
inx |
|
Declaration
public void SetFastenerExtentLength(double extentLength)
Parameters
Type |
Name |
Description |
System.Double |
extentLength |
|
Declaration
public void SetFastenerMode(FastenerAssy.ModeMethod modeMethod)
Parameters
Declaration
public void SetFastenerSelectionType(FastenerAssy.SelectionTypeMethod selectionType)
Parameters
Declaration
public void SetHoleDatumCsys(NXObject datumCsys, int index)
Parameters
Type |
Name |
Description |
NXObject |
datumCsys |
|
System.Int32 |
index |
|
Declaration
public void SetHoleDefaultCylindricalFace(NXObject defaultCylFaces, int index)
Parameters
Type |
Name |
Description |
NXObject |
defaultCylFaces |
|
System.Int32 |
index |
|
Declaration
public void SetHoleDiameter(double diameter, int index)
Parameters
Type |
Name |
Description |
System.Double |
diameter |
|
System.Int32 |
index |
|
Declaration
public void SetHoleDirection(Point3d direction, int index)
Parameters
Type |
Name |
Description |
Point3d |
direction |
|
System.Int32 |
index |
|
Declaration
public void SetHoleFaces(NXObject holeFace, int index)
Parameters
Type |
Name |
Description |
NXObject |
holeFace |
|
System.Int32 |
index |
|
Declaration
public void SetHoleHeight(double height, int index)
Parameters
Type |
Name |
Description |
System.Double |
height |
|
System.Int32 |
index |
|
Declaration
public void SetHoleOriginDiameter(double originDiameter, int index)
Parameters
Type |
Name |
Description |
System.Double |
originDiameter |
|
System.Int32 |
index |
|
Declaration
public void SetHoleOriginHeight(double originheight, int index)
Parameters
Type |
Name |
Description |
System.Double |
originheight |
|
System.Int32 |
index |
|
Declaration
public void SetHoleOriginPosition(Point3d originposition, int index)
Parameters
Type |
Name |
Description |
Point3d |
originposition |
|
System.Int32 |
index |
|
Declaration
public void SetHolePosition(Point3d position, int index)
Parameters
Type |
Name |
Description |
Point3d |
position |
|
System.Int32 |
index |
|
Declaration
public void SetHoleSideCylindricalFaces(NXObject sideCylFace, int index)
Parameters
Type |
Name |
Description |
NXObject |
sideCylFace |
|
System.Int32 |
index |
|
Declaration
public void SetInstanceFeatureFaces(NXObject instanceFeature, int inx)
Parameters
Type |
Name |
Description |
NXObject |
instanceFeature |
|
System.Int32 |
inx |
|
Declaration
public void SetItemName(string partName, string itemName)
Parameters
Type |
Name |
Description |
System.String |
partName |
|
System.String |
itemName |
|
Declaration
public void SetReusablePocketBuilder(ReusablePocketBuilder pocketTag)
Parameters
Declaration
public void SetReuseBuilder(int index, FastenerAssy.StackTypeMethod nodeType, int childIndex, Component partOcc)
Parameters
Declaration
public void SetSidePlanarFaces(NXObject sidePlanarFace, int index)
Parameters
Type |
Name |
Description |
NXObject |
sidePlanarFace |
|
System.Int32 |
index |
|
Declaration
public void SubstituteFastenerStack(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType, string partFile, string krxFile, string libName, string pathInLib, string lengthMatch, string fullPath)
Parameters
Type |
Name |
Description |
System.Int32 |
parentIndex |
|
System.Int32 |
childIndex |
|
FastenerAssy.StackTypeMethod |
nodeType |
|
System.String |
partFile |
|
System.String |
krxFile |
|
System.String |
libName |
|
System.String |
pathInLib |
|
System.String |
lengthMatch |
|
System.String |
fullPath |
|
Declaration
public void UpdateDefaultStandard(int index, string standard, string form, string type)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
standard |
|
System.String |
form |
|
System.String |
type |
|
Declaration
public void UpdateFastenerLength(bool adjustLength)
Parameters
Type |
Name |
Description |
System.Boolean |
adjustLength |
|
Declaration
public void UpdateFastenerStacks(int parentIndex, bool updateScrew, bool updatePocket)
Parameters
Type |
Name |
Description |
System.Int32 |
parentIndex |
|
System.Boolean |
updateScrew |
|
System.Boolean |
updatePocket |
|
Declaration
public void UpdateHoleData(int inx, double originheight, Point3d originPoint, bool threadhole, bool blindhole)
Parameters
Type |
Name |
Description |
System.Int32 |
inx |
|
System.Double |
originheight |
|
Point3d |
originPoint |
|
System.Boolean |
threadhole |
|
System.Boolean |
blindhole |
|
UpdateHolePostion(Int32, Point3d, Point3d, Point3d, Double, Double, Double)
Declaration
public void UpdateHolePostion(int parentIndex, Point3d dirOne, Point3d tempPnt, Point3d pointOne, double height, double orignHeight, double offSetDistance)
Parameters
Type |
Name |
Description |
System.Int32 |
parentIndex |
|
Point3d |
dirOne |
|
Point3d |
tempPnt |
|
Point3d |
pointOne |
|
System.Double |
height |
|
System.Double |
orignHeight |
|
System.Double |
offSetDistance |
|
Declaration
public void UpdateStackPosition(int parentIndex, int childIndex, FastenerAssy.StackTypeMethod nodeType, double deltaLength)
Parameters
Declaration
public void UpdateTopBottomStacks(int index, FastenerAssy.SelectionObjectMethod type, bool isSameFace, NXObject face)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink