NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Tooling.FastenerAssy Class Reference

Represents a NXOpen.Tooling.FastenerAssy More...

Inheritance diagram for NXOpen.Tooling.FastenerAssy:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  HoleOperation { Add, Remove }
 Represents the action on the hole menu of the fastener assembly. More...
 
enum  ModeMethod { Add = 1, Edit }
 Represents adding and editing modes for the fastener assembly More...
 
enum  SelectionObjectMethod { Top, Bottom }
 Represents selection object type More...
 
enum  SelectionTypeMethod { Hole, Position }
 Represents selection type for position and hole More...
 
enum  StackTypeMethod {
  Screw, TopStack, BottomStack, RootNode,
  TopNode, BottomNode
}
 Represents screw_array type More...
 

Public Member Functions

unsafe void AddParentNewPart (string fileName, int index, bool parentNode)
 Adds new part for the parent node More...
 
unsafe void AddRemovalHoleIndex (int index)
 Add the removal hole index in the fastener setup data More...
 
unsafe void AddScrewArray (string krxFile, string lengthMatch, string libPath, string libName, string fullPath, int index, NXOpen.Tooling.FastenerAssy.StackTypeMethod type)
 Adds stack array More...
 
unsafe NXOpen.NXObject AddTopNode (NXOpen.Point3d point, NXOpen.Point3d direction, NXOpen.NXObject selObject, int index)
 Adds top node for the fastener assembly More...
 
unsafe void AdjustFastenerLength (int parentIndex, int childIndex, NXOpen.Tooling.FastenerAssy.StackTypeMethod nodeType)
 Adjusts the fastener assembly length More...
 
unsafe void CreateArrayHole (int index)
 Creates array hole data for the fastener assembly More...
 
unsafe void CreateFastenerConstraints (int index)
 Creates fastener assembly constraint More...
 
unsafe void CreatePatternComponent (bool createPattern)
 Create the pattern component when the positioining pattern sketch feature is not exsit; edit pattern component when the positioining pattern feature is exsit More...
 
unsafe void CreatePositioningFeatureByPoint (NXOpen.NXObject selobj, NXOpen.Point3d inputPosition, bool centerFace)
 Create positioning feature on the given position More...
 
unsafe void CreatePositioningFeatureOnPoint (NXOpen.NXObject selobj, NXOpen.Point3d inputPosition, bool centerFace)
 Create positioning feature on the given position More...
 
unsafe
NXOpen.Tooling.AddReusablePart 
CreateReusableBuilder (int parentIndex, int childIndex, NXOpen.Tooling.FastenerAssy.StackTypeMethod nodeType)
 Creates new reusable builder More...
 
unsafe void CreateReusablePocket (bool commit)
 Creates reusable pocket More...
 
unsafe void CreateSameAssemblyData (int addedIndex, int index)
 Creates the same assembly data type More...
 
unsafe void DeleteArrayHole (int index)
 Deletes array hole data for the fastener assembly More...
 
unsafe void DeleteReusablePocket ()
 Deletes reusable pocket More...
 
unsafe void EraseAssemblyData (int parentIndex)
 Erases the assembly data More...
 
unsafe void EraseFastenerAssembly (int parentInx, bool removeParent, bool removeScrew, bool removeStack, bool removeArray, bool removeBuilder, bool initscrewBuilder, bool initstackBuilder, bool removeData)
 Erases fastener assembly More...
 
unsafe void EraseFastenerAssemblyData (int index)
 Erases the fastener assembly data, including the hole data and assembly data in the fastener setup data More...
 
unsafe void EraseFastenerSetupData ()
 Erases the data (hole and assembly data) in fastener assembly More...
 
unsafe void EraseStackArray (int parentIndex, int inx, NXOpen.Tooling.FastenerAssy.StackTypeMethod type)
 Erases stack array More...
 
unsafe NXOpen.Features.Feature FindPositioningFeatureSet ()
 Find the positioning feature set by pattern sketch More...
 
unsafe
NXOpen.Tooling.FastenerAssy.ModeMethod 
GetFastenerMode ()
 Gets the fastener mode More...
 
unsafe
NXOpen.Tooling.FastenerAssy.SelectionTypeMethod 
GetFastenerSelectionType ()
 Gets the selection type for the hole in the fastener assembly More...
 
unsafe NXOpen.NXObject GetReusableBuilderWorkPart ()
 Get reusable builder work part More...
 
unsafe
NXOpen.Tooling.ReusablePocketBuilder 
GetReusablePocketBuilder ()
 Gets the reusable pocket builder More...
 
unsafe void InitPocketBuilder ()
 Inits pocket builder More...
 
unsafe void OffsetPositioningFeature (double offsetValue)
 Offset the positioning feature More...
 
unsafe void ReadAssemblyConfigure (int holeNum, NXOpen.Assemblies.Component partOcc)
 Reads fastener assembly configuration data from the hole data More...
 
unsafe void RemoveFastenerConstraints (int index)
 Removes fastener assembly constraint More...
 
unsafe void RemoveSelectedHole ()
 Removes the selected hole from the fastener setup data More...
 
unsafe void RenameParentNode (int index, string newname)
 Renames the parent node More...
 
unsafe void SaveDropPointPosition (NXOpen.Point3d tempPnt)
 Keep the first drop point position More...
 
unsafe void SaveUdoData ()
 Saves UDO data for fastener assembly More...
 
unsafe void SelectScrewSize (int inx, double diameter, double origindiameter, bool selDiameter)
 Selects the screw size More...
 
unsafe void SetAssemblyExtentLength (int index, double extentLength)
 Sets the extent length for the fastener assembly data More...
 
unsafe void SetBlindHole (int inx, bool blindhole)
 Sets the blind hole for the hole in the fastener assembly More...
 
unsafe void SetCreatePocket (bool create)
 Sets the flag to indicate whether to create pocket when adding the fastener More...
 
unsafe void SetDefaultPlanarFaces (NXOpen.NXObject defaultPlanarFace, int inx)
 Sets the default planar face for the hole in the fastener assembly More...
 
unsafe void SetFastenerExtentLength (double extentLength)
 Sets the extent length for the hole in the fastener assembly More...
 
unsafe void SetFastenerMode (NXOpen.Tooling.FastenerAssy.ModeMethod modeMethod)
 Sets the fastener mode More...
 
unsafe void SetFastenerSelectionType (NXOpen.Tooling.FastenerAssy.SelectionTypeMethod selectionType)
 Sets the selection type for the hole in the fastener assembly More...
 
unsafe void SetHoleDatumCsys (NXOpen.NXObject datumCsys, int index)
 Sets the datum CSYS for the hole in the fastener assembly More...
 
unsafe void SetHoleDefaultCylindricalFace (NXOpen.NXObject defaultCylFaces, int index)
 Sets the default cylindrical face for the hole in the fastener assembly More...
 
unsafe void SetHoleDiameter (double diameter, int index)
 Sets the diameter for the hole in the fastener assembly More...
 
unsafe void SetHoleDirection (NXOpen.Point3d direction, int index)
 Sets the direction for the hole in the fastener assembly More...
 
unsafe void SetHoleFaces (NXOpen.NXObject holeFace, int index)
 Sets the faces for the hole in the fastener assembly More...
 
unsafe void SetHoleHeight (double height, int index)
 Sets the height for the hole in the fastener assembly More...
 
unsafe void SetHoleOriginDiameter (double originDiameter, int index)
 Sets the origin diameter for the hole in the fastener assembly More...
 
unsafe void SetHoleOriginHeight (double originheight, int index)
 Sets the origin height for the hole in the fastener assembly More...
 
unsafe void SetHoleOriginPosition (NXOpen.Point3d originposition, int index)
 Sets the origin position for the hole in the fastener assembly More...
 
unsafe void SetHolePosition (NXOpen.Point3d position, int index)
 Sets the position for the hole in the fastener assembly More...
 
unsafe void SetHoleSideCylindricalFaces (NXOpen.NXObject sideCylFace, int index)
 Sets the side cylindrical faces for the hole in the fastener assembly More...
 
unsafe void SetInstanceFeatureFaces (NXOpen.NXObject instanceFeature, int inx)
 Sets the instance feature face for the hole in the fastener assembly More...
 
unsafe void SetItemName (string partName, string itemName)
 Adds item description for the part More...
 
unsafe void SetOffsetExpression (double offsetDistance)
 Set offset distance expression More...
 
unsafe void SetReusablePocketBuilder (NXOpen.Tooling.ReusablePocketBuilder pocketTag)
 Sets the reusable pocket builder More...
 
unsafe void SetReuseBuilder (int index, NXOpen.Tooling.FastenerAssy.StackTypeMethod nodeType, int childIndex, NXOpen.Assemblies.Component partOcc)
 Sets the reuse builder More...
 
unsafe void SetSidePlanarFaces (NXOpen.NXObject sidePlanarFace, int index)
 Sets the side planar faces for the hole in the fastener assembly More...
 
unsafe void SubstituteFastenerStack (int parentIndex, int childIndex, NXOpen.Tooling.FastenerAssy.StackTypeMethod nodeType, string partFile, string krxFile, string libName, string pathInLib, string lengthMatch, string fullPath)
 Substitutes fastener stack More...
 
unsafe void UpdateDefaultStandard (int index, string standard, string form, string type)
 Updates default standard hole data for the fastener assembly configuration More...
 
unsafe void UpdateFastenerLength (bool adjustLength)
 Updates the fastener length More...
 
unsafe void UpdateFastenerStacks (int parentIndex, bool updateScrew, bool updatePocket)
 Updates fastener stacks More...
 
unsafe void UpdateHoleData (int inx, double originheight, NXOpen.Point3d originPoint, bool threadhole, bool blindhole)
 Updates the hole data More...
 
unsafe void UpdateHolePostion (int parentIndex, NXOpen.Point3d dirOne, NXOpen.Point3d tempPnt, NXOpen.Point3d pointOne, double height, double orignHeight, double offSetDistance)
 Updates the hole positon for position method More...
 
unsafe void UpdateStackPosition (int parentIndex, int childIndex, NXOpen.Tooling.FastenerAssy.StackTypeMethod nodeType, double deltaLength)
 Updates the fastener assembly after changing stacks or changing stack properties More...
 
unsafe void UpdateTopBottomStacks (int index, NXOpen.Tooling.FastenerAssy.SelectionObjectMethod type, bool isSameFace, NXOpen.NXObject face)
 Updates fastener assembly according to the new extends More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe
NXOpen.Assemblies.ComponentPatternBuilder 
ComponentPatternBuilder [get, set]
 Returns or sets the current component pattern builder More...
 
unsafe NXOpen.Sketch PositioningFeature [get, set]
 Returns or sets the positioning feature that needed for fastener assembly More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.Tooling.FastenerAssy

To create a new instance of this class, use NXOpen.Tooling.FastenerAssyCollection.CreateBuilder

Default values.

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)

Created in NX5.0.0

Member Enumeration Documentation

Represents the action on the hole menu of the fastener assembly.

Enumerator
Add 

Click the add hole group menu

Remove 

Click the remove menu

Represents adding and editing modes for the fastener assembly

Enumerator
Add 

Add fastener assembly

Edit 

Edit fastener assembly

Represents selection object type

Enumerator
Top 

Top object

Bottom 

Bottom object

Represents selection type for position and hole

Enumerator
Hole 

Hole type

Position 

Position type

Represents screw_array type

Enumerator
Screw 

Screw type

TopStack 

Top stack type

BottomStack 

Bottom stack type

RootNode 

Root node type

TopNode 

Top node type

BottomNode 

Bottom node type

Member Function Documentation

unsafe void NXOpen.Tooling.FastenerAssy.AddParentNewPart ( string  fileName,
int  index,
bool  parentNode 
)
inline

Adds new part for the parent node

Created in NX9.0.0

License requirements: None.

Parameters
fileNameNew fastener assembly parent node name
indexThe hole index in the fastener assembly
parentNodeWhether the fastener assembly node is parent
unsafe void NXOpen.Tooling.FastenerAssy.AddRemovalHoleIndex ( int  index)
inline

Add the removal hole index in the fastener setup data

Created in NX9.0.0

License requirements: None.

Parameters
indexThe hole index in the fastener assembly to be removed
unsafe void NXOpen.Tooling.FastenerAssy.AddScrewArray ( string  krxFile,
string  lengthMatch,
string  libPath,
string  libName,
string  fullPath,
int  index,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  type 
)
inline

Adds stack array

Created in NX9.0.0

License requirements: None.

Parameters
krxFileThe krx file of the stack
lengthMatchThe length match from fastener data and given node
libPathAsk fastener library path
libNameAsk fastener library name
fullPathStack file full path
indexThe hole index in the fastener assembly
typeThe stack type method
unsafe NXOpen.NXObject NXOpen.Tooling.FastenerAssy.AddTopNode ( NXOpen.Point3d  point,
NXOpen.Point3d  direction,
NXOpen.NXObject  selObject,
int  index 
)
inline

Adds top node for the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
pointThe point of the fastener to assemble
directionThe direciton of the fastener to assemble
selObjectThe default cylindrical face of the hole data, selObject type should be FACE
indexThe hole index in the fastener assembly
Returns
Output the instance of the parent node
unsafe void NXOpen.Tooling.FastenerAssy.AdjustFastenerLength ( int  parentIndex,
int  childIndex,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  nodeType 
)
inline

Adjusts the fastener assembly length

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent index
childIndexchild index
nodeTypethe stack type method
unsafe void NXOpen.Tooling.FastenerAssy.CreateArrayHole ( int  index)
inline

Creates array hole data for the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
indexthe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.CreateFastenerConstraints ( int  index)
inline

Creates fastener assembly constraint

Created in NX9.0.0

License requirements: None.

Parameters
indexthe hole index in the fastener assembly to create constraints
unsafe void NXOpen.Tooling.FastenerAssy.CreatePatternComponent ( bool  createPattern)
inline

Create the pattern component when the positioining pattern sketch feature is not exsit; edit pattern component when the positioining pattern feature is exsit

Created in NX11.0.0

License requirements: None.

Parameters
createPatternFlag to decide whether to create pattern component or edit, set flag as true to create and set flag false to edit
unsafe void NXOpen.Tooling.FastenerAssy.CreatePositioningFeatureByPoint ( NXOpen.NXObject  selobj,
NXOpen.Point3d  inputPosition,
bool  centerFace 
)
inline

Create positioning feature on the given position

Created in NX1847.0.0

License requirements: None.

Parameters
selobjtop or bottom face
inputPositionThe input position
centerFacewhether to use face center as location
unsafe void NXOpen.Tooling.FastenerAssy.CreatePositioningFeatureOnPoint ( NXOpen.NXObject  selobj,
NXOpen.Point3d  inputPosition,
bool  centerFace 
)
inline

Create positioning feature on the given position

Created in NX11.0.0

License requirements: None.

Parameters
selobjtop or bottom face
inputPositionThe input position
centerFacewhether to use face center as location
unsafe NXOpen.Tooling.AddReusablePart NXOpen.Tooling.FastenerAssy.CreateReusableBuilder ( int  parentIndex,
int  childIndex,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  nodeType 
)
inline

Creates new reusable builder

Created in NX9.0.0

License requirements: None.

Returns
the new NXOpen.Tooling.AddReusablePart instance
Parameters
parentIndexparent node index in the fastener assembly
childIndexchild node index in the fastener assembly
nodeTypethe stack type method
unsafe void NXOpen.Tooling.FastenerAssy.CreateReusablePocket ( bool  commit)
inline

Creates reusable pocket

Created in NX9.0.0

License requirements: None.

Parameters
commitwhether to create pocket
unsafe void NXOpen.Tooling.FastenerAssy.CreateSameAssemblyData ( int  addedIndex,
int  index 
)
inline

Creates the same assembly data type

Created in NX9.0.0

License requirements: None.

Parameters
addedIndexfind the the hole index with the same parameter and node type in the fastener assembly
indexthe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.DeleteArrayHole ( int  index)
inline

Deletes array hole data for the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
indexthe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.DeleteReusablePocket ( )
inline

Deletes reusable pocket

Created in NX9.0.0

License requirements: None.

unsafe void NXOpen.Tooling.FastenerAssy.EraseAssemblyData ( int  parentIndex)
inline

Erases the assembly data

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent index
unsafe void NXOpen.Tooling.FastenerAssy.EraseFastenerAssembly ( int  parentInx,
bool  removeParent,
bool  removeScrew,
bool  removeStack,
bool  removeArray,
bool  removeBuilder,
bool  initscrewBuilder,
bool  initstackBuilder,
bool  removeData 
)
inline

Erases fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
parentInxparent index
removeParentwhether to remove parent instance
removeScrewwhether to remove screw
removeStackwhether to remove top stack and bottom stack
removeArraywhether to remove component array
removeBuilderwhether to remove builder
initscrewBuilderwhether to initialize screw builder
initstackBuilderwhether to initialize stack builder
removeDatawhether to remove data
unsafe void NXOpen.Tooling.FastenerAssy.EraseFastenerAssemblyData ( int  index)
inline

Erases the fastener assembly data, including the hole data and assembly data in the fastener setup data

Created in NX9.0.0

License requirements: None.

Parameters
indexThe hole index in the fastener assembly to be removed
unsafe void NXOpen.Tooling.FastenerAssy.EraseFastenerSetupData ( )
inline

Erases the data (hole and assembly data) in fastener assembly

Created in NX9.0.0

License requirements: None.

unsafe void NXOpen.Tooling.FastenerAssy.EraseStackArray ( int  parentIndex,
int  inx,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  type 
)
inline

Erases stack array

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexParent index
inxChild index
typeThe stack type method
unsafe NXOpen.Features.Feature NXOpen.Tooling.FastenerAssy.FindPositioningFeatureSet ( )
inline

Find the positioning feature set by pattern sketch

Created in NX11.0.0

License requirements: None.

Returns
Positioning feature set
unsafe NXOpen.Tooling.FastenerAssy.ModeMethod NXOpen.Tooling.FastenerAssy.GetFastenerMode ( )
inline

Gets the fastener mode

Created in NX9.0.0

License requirements: None.

Returns
unsafe NXOpen.Tooling.FastenerAssy.SelectionTypeMethod NXOpen.Tooling.FastenerAssy.GetFastenerSelectionType ( )
inline

Gets the selection type for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Returns
The selection type to add the fastener assembly
unsafe NXOpen.NXObject NXOpen.Tooling.FastenerAssy.GetReusableBuilderWorkPart ( )
inline

Get reusable builder work part

Created in NX1847.0.0

License requirements: None.

Returns
the new NXOpen.Tooling.AddReusablePart instance
unsafe NXOpen.Tooling.ReusablePocketBuilder NXOpen.Tooling.FastenerAssy.GetReusablePocketBuilder ( )
inline

Gets the reusable pocket builder

Created in NX9.0.0

License requirements: None.

Returns
The reusable component pocket builder
unsafe void NXOpen.Tooling.FastenerAssy.InitPocketBuilder ( )
inline

Inits pocket builder

Created in NX9.0.0

License requirements: None.

unsafe void NXOpen.Tooling.FastenerAssy.OffsetPositioningFeature ( double  offsetValue)
inline

Offset the positioning feature

Created in NX11.0.0

License requirements: None.

Parameters
offsetValuethe offset distance of the positionging feature
unsafe void NXOpen.Tooling.FastenerAssy.ReadAssemblyConfigure ( int  holeNum,
NXOpen.Assemblies.Component  partOcc 
)
inline

Reads fastener assembly configuration data from the hole data

Created in NX9.0.0

License requirements: None.

Parameters
holeNumhole num
partOccparent node part occurance
unsafe void NXOpen.Tooling.FastenerAssy.RemoveFastenerConstraints ( int  index)
inline

Removes fastener assembly constraint

Created in NX9.0.0

License requirements: None.

Parameters
indexthe hole index in the fastener assembly to delete constraints
unsafe void NXOpen.Tooling.FastenerAssy.RemoveSelectedHole ( )
inline

Removes the selected hole from the fastener setup data

Created in NX9.0.0

License requirements: None.

unsafe void NXOpen.Tooling.FastenerAssy.RenameParentNode ( int  index,
string  newname 
)
inline

Renames the parent node

Created in NX9.0.0

License requirements: None.

Parameters
indexparent node index in fastener assembly
newnamenew name for the parent node
unsafe void NXOpen.Tooling.FastenerAssy.SaveDropPointPosition ( NXOpen.Point3d  tempPnt)
inline

Keep the first drop point position

Created in NX11.0.0

License requirements: None.

Parameters
tempPntthe first drop point position in hole data
unsafe void NXOpen.Tooling.FastenerAssy.SaveUdoData ( )
inline

Saves UDO data for fastener assembly

Created in NX9.0.0

License requirements: None.

unsafe void NXOpen.Tooling.FastenerAssy.SelectScrewSize ( int  inx,
double  diameter,
double  origindiameter,
bool  selDiameter 
)
inline

Selects the screw size

Created in NX9.0.0

License requirements: None.

Parameters
inxparent index
diameterdiameter in hole data
origindiameterorigin diameter in hole data
selDiameterwhether to select diameter
unsafe void NXOpen.Tooling.FastenerAssy.SetAssemblyExtentLength ( int  index,
double  extentLength 
)
inline

Sets the extent length for the fastener assembly data

Created in NX9.0.0

License requirements: None.

Parameters
indexhole index in fastener assembly
extentLengthThe extent Length of the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetBlindHole ( int  inx,
bool  blindhole 
)
inline

Sets the blind hole for the hole in the fastener assembly

Created in NX10.0.0

License requirements: None.

Parameters
inxparent index
blindholewhether the hole is blind hole
unsafe void NXOpen.Tooling.FastenerAssy.SetCreatePocket ( bool  create)
inline

Sets the flag to indicate whether to create pocket when adding the fastener

Created in NX9.0.0

License requirements: None.

Parameters
createWhether the fastener assembly is created pocket
unsafe void NXOpen.Tooling.FastenerAssy.SetDefaultPlanarFaces ( NXOpen.NXObject  defaultPlanarFace,
int  inx 
)
inline

Sets the default planar face for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
defaultPlanarFaceThe default planar face of the hole data, defaultPlanarFace type should be FACE
inxThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetFastenerExtentLength ( double  extentLength)
inline

Sets the extent length for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
extentLengthThe extent Length of the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetFastenerMode ( NXOpen.Tooling.FastenerAssy.ModeMethod  modeMethod)
inline

Sets the fastener mode

Created in NX9.0.0

License requirements: None.

Parameters
modeMethod
unsafe void NXOpen.Tooling.FastenerAssy.SetFastenerSelectionType ( NXOpen.Tooling.FastenerAssy.SelectionTypeMethod  selectionType)
inline

Sets the selection type for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
selectionTypeThe selection type to add the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleDatumCsys ( NXOpen.NXObject  datumCsys,
int  index 
)
inline

Sets the datum CSYS for the hole in the fastener assembly

Created in NX12.0.0

License requirements: None.

Parameters
datumCsysThe datum csys of the hole data
indexThe hole index in the fastener assembly, datumCsys type should be Axis
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleDefaultCylindricalFace ( NXOpen.NXObject  defaultCylFaces,
int  index 
)
inline

Sets the default cylindrical face for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
defaultCylFacesThe default cylindrical faces of the hole data, defaultCylFaces type should be FACE
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleDiameter ( double  diameter,
int  index 
)
inline

Sets the diameter for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
diameterThe diameter of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleDirection ( NXOpen.Point3d  direction,
int  index 
)
inline

Sets the direction for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
directionThe direcion of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleFaces ( NXOpen.NXObject  holeFace,
int  index 
)
inline

Sets the faces for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
holeFaceThe hole face of the hole data, holeFace type is FACE
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleHeight ( double  height,
int  index 
)
inline

Sets the height for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
heightThe height of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleOriginDiameter ( double  originDiameter,
int  index 
)
inline

Sets the origin diameter for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
originDiameterThe origin diameter of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleOriginHeight ( double  originheight,
int  index 
)
inline

Sets the origin height for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
originheightThe origin height of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleOriginPosition ( NXOpen.Point3d  originposition,
int  index 
)
inline

Sets the origin position for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
originpositionThe origin position of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHolePosition ( NXOpen.Point3d  position,
int  index 
)
inline

Sets the position for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
positionThe position of the hole data
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetHoleSideCylindricalFaces ( NXOpen.NXObject  sideCylFace,
int  index 
)
inline

Sets the side cylindrical faces for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
sideCylFaceThe side cylinderical Face of the hole data
indexThe hole index in the fastener assembly, sideCylFace type should be FACE
unsafe void NXOpen.Tooling.FastenerAssy.SetInstanceFeatureFaces ( NXOpen.NXObject  instanceFeature,
int  inx 
)
inline

Sets the instance feature face for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
instanceFeatureThe instance feature face of the hole data, instanceFeature type should be FACE
inxThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SetItemName ( string  partName,
string  itemName 
)
inline

Adds item description for the part

Created in NX9.0.0

License requirements: None.

Parameters
partNameThe part name
itemNameItem name
unsafe void NXOpen.Tooling.FastenerAssy.SetOffsetExpression ( double  offsetDistance)
inline

Set offset distance expression

Created in NX12.0.2

License requirements: None.

Parameters
offsetDistance
unsafe void NXOpen.Tooling.FastenerAssy.SetReusablePocketBuilder ( NXOpen.Tooling.ReusablePocketBuilder  pocketTag)
inline

Sets the reusable pocket builder

Created in NX9.0.0

License requirements: None.

Parameters
pocketTagThe reusable component pocket builder
unsafe void NXOpen.Tooling.FastenerAssy.SetReuseBuilder ( int  index,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  nodeType,
int  childIndex,
NXOpen.Assemblies.Component  partOcc 
)
inline

Sets the reuse builder

Created in NX9.0.0

License requirements: None.

Parameters
indexparent node index in fastener assembly
nodeTypethe stack type method
childIndexchild hole index in fastener assembly
partOccnew part occruance
unsafe void NXOpen.Tooling.FastenerAssy.SetSidePlanarFaces ( NXOpen.NXObject  sidePlanarFace,
int  index 
)
inline

Sets the side planar faces for the hole in the fastener assembly

Created in NX9.0.0

License requirements: None.

Parameters
sidePlanarFaceThe side planar face of the hole data, sidePlanarFace type should be FACE
indexThe hole index in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.SubstituteFastenerStack ( int  parentIndex,
int  childIndex,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  nodeType,
string  partFile,
string  krxFile,
string  libName,
string  pathInLib,
string  lengthMatch,
string  fullPath 
)
inline

Substitutes fastener stack

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent node index in the fastener assembly
childIndexchild node index in the fastener assembly
nodeTypethe stack type method
partFilepart file
krxFilekrx file
libNamelibrary name
pathInLiblibrary path
lengthMatchthe length match from fastener data and given node
fullPathscrew file full path
unsafe void NXOpen.Tooling.FastenerAssy.UpdateDefaultStandard ( int  index,
string  standard,
string  form,
string  type 
)
inline

Updates default standard hole data for the fastener assembly configuration

Created in NX9.0.0

License requirements: None.

Parameters
indexThe hole index in hole map data
standardThe default hole standard type in the assembly configuration
formThe default hole form in the assembly configuration
typeThe default hole screw type in the assembly configuration
unsafe void NXOpen.Tooling.FastenerAssy.UpdateFastenerLength ( bool  adjustLength)
inline

Updates the fastener length

Created in NX9.0.0

License requirements: None.

Parameters
adjustLengthWhether to adjust length in the fastener assembly
unsafe void NXOpen.Tooling.FastenerAssy.UpdateFastenerStacks ( int  parentIndex,
bool  updateScrew,
bool  updatePocket 
)
inline

Updates fastener stacks

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent index
updateScrewwhether to update screw
updatePocketwhether to update pocket
unsafe void NXOpen.Tooling.FastenerAssy.UpdateHoleData ( int  inx,
double  originheight,
NXOpen.Point3d  originPoint,
bool  threadhole,
bool  blindhole 
)
inline

Updates the hole data

Created in NX9.0.0

License requirements: None.

Parameters
inxparent index
originheightorigin height in hole data
originPointorigin point in hole data
threadholewhether the hole is thread hole
blindholewhether the hole is blind hole
unsafe void NXOpen.Tooling.FastenerAssy.UpdateHolePostion ( int  parentIndex,
NXOpen.Point3d  dirOne,
NXOpen.Point3d  tempPnt,
NXOpen.Point3d  pointOne,
double  height,
double  orignHeight,
double  offSetDistance 
)
inline

Updates the hole positon for position method

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent node index
dirOnedirection in hole data
tempPntposition in hole data
pointOneorigin position in hole data
heightheight in hole data
orignHeightorigin height in hole data
offSetDistanceoffset distance in hole data
unsafe void NXOpen.Tooling.FastenerAssy.UpdateStackPosition ( int  parentIndex,
int  childIndex,
NXOpen.Tooling.FastenerAssy.StackTypeMethod  nodeType,
double  deltaLength 
)
inline

Updates the fastener assembly after changing stacks or changing stack properties

Created in NX9.0.0

License requirements: None.

Parameters
parentIndexparent index
childIndexchild index
nodeTypenode type
deltaLengththe stack length to be changed
unsafe void NXOpen.Tooling.FastenerAssy.UpdateTopBottomStacks ( int  index,
NXOpen.Tooling.FastenerAssy.SelectionObjectMethod  type,
bool  isSameFace,
NXOpen.NXObject  face 
)
inline

Updates fastener assembly according to the new extends

Created in NX9.0.0

License requirements: None.

Parameters
indexparent node index in fastener assembly
typetop object or bottom object type
isSameFacewhether the fastener assembly is same face
facetop or bottom face

Property Documentation

unsafe NXOpen.Assemblies.ComponentPatternBuilder NXOpen.Tooling.FastenerAssy.ComponentPatternBuilder
getset

Returns or sets the current component pattern builder

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Sketch NXOpen.Tooling.FastenerAssy.PositioningFeature
getset

Returns or sets the positioning feature that needed for fastener assembly

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.