NX Open C++ Reference Guide
|
Represents a Tooling::FastenerAssy
To create a new instance of this class, use Tooling::FastenerAssyCollection::CreateBuilder
Created in NX5.0.0.
More...
Public Types | |
enum | ModeMethod { ModeMethodAdd = 1, ModeMethodEdit } |
Represents adding and editing modes for the fastener assembly. More... | |
enum | SelectionObjectMethod { SelectionObjectMethodTop, SelectionObjectMethodBottom } |
Represents selection object type. More... | |
enum | SelectionTypeMethod { SelectionTypeMethodHole, SelectionTypeMethodPosition } |
Represents selection type for position and hole. More... | |
enum | StackTypeMethod { StackTypeMethodScrew, StackTypeMethodTopStack, StackTypeMethodBottomStack, StackTypeMethodRootNode, StackTypeMethodTopNode, StackTypeMethodBottomNode } |
Represents screw_array type. More... | |
Public Member Functions | |
void | AddParentNewPart (const NXString &fileName, int index, bool parentNode) |
Adds new part for the parent node Created in NX9.0.0. | |
void | AddParentNewPart (const char *fileName, int index, bool parentNode) |
Adds new part for the parent node Created in NX9.0.0. | |
void | AddRemovalHoleIndex (int index) |
Add the removal hole index in the fastener setup data Created in NX9.0.0. | |
void | AddScrewArray (const NXString &krxFile, const NXString &lengthMatch, const NXString &libPath, const NXString &libName, const NXString &fullPath, int index, NXOpen::Tooling::FastenerAssy::StackTypeMethod type) |
Adds stack array Created in NX9.0.0. | |
void | AddScrewArray (const char *krxFile, const char *lengthMatch, const char *libPath, const char *libName, const char *fullPath, int index, NXOpen::Tooling::FastenerAssy::StackTypeMethod type) |
Adds stack array Created in NX9.0.0. | |
NXOpen::NXObject * | AddTopNode (const NXOpen::Point3d &point, const NXOpen::Point3d &direction, NXOpen::NXObject *selObject, int index) |
Adds top node for the fastener assembly. | |
void | AdjustFastenerLength (int parentIndex, int childIndex, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType) |
Adjusts the fastener assembly length Created in NX9.0.0. | |
void | CreateArrayHole (int index) |
Creates array hole data for the fastener assembly Created in NX9.0.0. | |
void | CreateFastenerConstraints (int index) |
Creates fastener assembly constraint Created in NX9.0.0. | |
NXOpen::Tooling::AddReusablePart * | CreateReusableBuilder (int parentIndex, int childIndex, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType) |
Creates new reusable builder. | |
void | CreateReusablePocket (bool commit) |
Creates reusable pocket Created in NX9.0.0. | |
void | CreateSameAssemblyData (int addedIndex, int index) |
Creates the same assembly data type Created in NX9.0.0. | |
void | DeleteArrayHole (int index) |
Deletes array hole data for the fastener assembly Created in NX9.0.0. | |
void | DeleteReusablePocket () |
Deletes reusable pocket Created in NX9.0.0. | |
void | EraseAssemblyData (int parentIndex) |
Erases the assembly data Created in NX9.0.0. | |
void | EraseFastenerAssembly (int parentInx, bool removeParent, bool removeScrew, bool removeStack, bool removeArray, bool removeBuilder, bool initscrewBuilder, bool initstackBuilder, bool removeData) |
Erases fastener assembly Created in NX9.0.0. | |
void | EraseFastenerAssemblyData (int index) |
Erases the fastener assembly data, including the hole data and assembly data in the fastener setup data Created in NX9.0.0. | |
void | EraseFastenerSetupData () |
Erases the data (hole and assembly data) in fastener assembly Created in NX9.0.0. | |
void | EraseStackArray (int parentIndex, int inx, NXOpen::Tooling::FastenerAssy::StackTypeMethod type) |
Erases stack array Created in NX9.0.0. | |
NXOpen::Tooling::FastenerAssy::ModeMethod | GetFastenerMode () |
Gets the fastener mode. | |
NXOpen::Tooling::FastenerAssy::SelectionTypeMethod | GetFastenerSelectionType () |
Gets the selection type for the hole in the fastener assembly. | |
NXOpen::Tooling::ReusablePocketBuilder * | GetReusablePocketBuilder () |
Gets the reusable pocket builder. | |
void | InitPocketBuilder () |
Inits pocket builder Created in NX9.0.0. | |
void | ReadAssemblyConfigure (int holeNum, NXOpen::Assemblies::Component *partOcc) |
Reads fastener assembly configuration data from the hole data Created in NX9.0.0. | |
void | RemoveFastenerConstraints (int index) |
Removes fastener assembly constraint Created in NX9.0.0. | |
void | RemoveSelectedHole () |
Removes the selected hole from the fastener setup data Created in NX9.0.0. | |
void | RenameParentNode (int index, const NXString &newname) |
Renames the parent node Created in NX9.0.0. | |
void | RenameParentNode (int index, const char *newname) |
Renames the parent node Created in NX9.0.0. | |
void | SaveUdoData () |
Saves UDO data for fastener assembly Created in NX9.0.0. | |
void | SelectScrewSize (int inx, double diameter, double origindiameter, bool selDiameter) |
Selects the screw size Created in NX9.0.0. | |
void | SetAssemblyExtentLength (int index, double extentLength) |
Sets the extent length for the fastener assembly data Created in NX9.0.0. | |
void | SetDefaultPlanarFaces (NXOpen::NXObject *defaultPlanarFace, int inx) |
Sets the default planar face for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetFastenerExtentLength (double extentLength) |
Sets the extent length for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetFastenerMode (NXOpen::Tooling::FastenerAssy::ModeMethod modeMethod) |
Sets the fastener mode Created in NX9.0.0. | |
void | SetFastenerSelectionType (NXOpen::Tooling::FastenerAssy::SelectionTypeMethod selectionType) |
Sets the selection type for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleDefaultCylindricalFace (NXOpen::NXObject *defaultCylFaces, int index) |
Sets the default cylindrical face for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleDiameter (double diameter, int index) |
Sets the diameter for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleDirection (const NXOpen::Point3d &direction, int index) |
Sets the direction for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleFaces (NXOpen::NXObject *holeFace, int index) |
Sets the faces for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleHeight (double height, int index) |
Sets the height for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleOriginDiameter (double originDiameter, int index) |
Sets the origin diameter for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleOriginHeight (double originheight, int index) |
Sets the origin height for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleOriginPosition (const NXOpen::Point3d &originposition, int index) |
Sets the origin position for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHolePosition (const NXOpen::Point3d &position, int index) |
Sets the position for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetHoleSideCylindricalFaces (NXOpen::NXObject *sideCylFace, int index) |
Sets the side cylindrical faces for the hole in the fastener assembly Created in NX9.0.0. | |
void | SetItemName (const NXString &partName, const NXString &itemName) |
Adds item description for the part Created in NX9.0.0. | |
void | SetItemName (const char *partName, const char *itemName) |
Adds item description for the part Created in NX9.0.0. | |
void | SetReusablePocketBuilder (NXOpen::Tooling::ReusablePocketBuilder *pocketTag) |
Sets the reusable pocket builder Created in NX9.0.0. | |
void | SetReuseBuilder (int index, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType, int childIndex, NXOpen::Assemblies::Component *partOcc) |
Sets the reuse builder Created in NX9.0.0. | |
void | SetSidePlanarFaces (NXOpen::NXObject *sidePlanarFace, int index) |
Sets the side planar faces for the hole in the fastener assembly Created in NX9.0.0. | |
void | SubstituteFastenerStack (int parentIndex, int childIndex, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType, const NXString &partFile, const NXString &krxFile, const NXString &libName, const NXString &pathInLib, const NXString &lengthMatch, const NXString &fullPath) |
Substitutes fastener stack Created in NX9.0.0. | |
void | SubstituteFastenerStack (int parentIndex, int childIndex, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType, const char *partFile, const char *krxFile, const char *libName, const char *pathInLib, const char *lengthMatch, const char *fullPath) |
Substitutes fastener stack Created in NX9.0.0. | |
void | UpdateDefaultStandard (int index, const NXString &standard, const NXString &form, const NXString &type) |
Updates default standard hole data for the fastener assembly configuration Created in NX9.0.0. | |
void | UpdateDefaultStandard (int index, const char *standard, const char *form, const char *type) |
Updates default standard hole data for the fastener assembly configuration Created in NX9.0.0. | |
void | UpdateFastenerLength (bool adjustLength) |
Updates the fastener length Created in NX9.0.0. | |
void | UpdateFastenerStacks (int parentIndex, bool updateScrew, bool updatePocket) |
Updates fastener stacks Created in NX9.0.0. | |
void | UpdateHoleData (int inx, double originheight, const NXOpen::Point3d &originPoint, bool threadhole, bool blindhole) |
Updates the hole data Created in NX9.0.0. | |
void | UpdateHolePostion (int parentIndex, const NXOpen::Point3d &dirOne, const NXOpen::Point3d &tempPnt, const NXOpen::Point3d &pointOne, double height, double orignHeight, double offSetDistance) |
Updates the hole positon for position method Created in NX9.0.0. | |
void | UpdateStackPosition (int parentIndex, int childIndex, NXOpen::Tooling::FastenerAssy::StackTypeMethod nodeType, double deltaLength) |
Updates the fastener assembly after changing stacks or changing stack properties Created in NX9.0.0. | |
void | UpdateTopBottomStacks (int index, NXOpen::Tooling::FastenerAssy::SelectionObjectMethod type, bool isSameFace, NXOpen::NXObject *face) |
Updates fastener assembly according to the new extends Created in NX9.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Tooling::FastenerAssy
To create a new instance of this class, use Tooling::FastenerAssyCollection::CreateBuilder
Created in NX5.0.0.
void NXOpen::Tooling::FastenerAssy::AddParentNewPart | ( | const NXString & | fileName, |
int | index, | ||
bool | parentNode | ||
) |
Adds new part for the parent node
Created in NX9.0.0.
License requirements : None
fileName | New fastener assembly parent node name NOTE: The full Unicode character set is not supported for this parameter. |
index | The hole index in the fastener assembly |
parentNode | Whether the fastener assembly node is parent |
void NXOpen::Tooling::FastenerAssy::AddParentNewPart | ( | const char * | fileName, |
int | index, | ||
bool | parentNode | ||
) |
Adds new part for the parent node
Created in NX9.0.0.
License requirements : None
fileName | New fastener assembly parent node name NOTE: The full Unicode character set is not supported for this parameter. |
index | The hole index in the fastener assembly |
parentNode | Whether the fastener assembly node is parent |
void NXOpen::Tooling::FastenerAssy::AddRemovalHoleIndex | ( | int | index | ) |
Add the removal hole index in the fastener setup data
Created in NX9.0.0.
License requirements : None
index | The hole index in the fastener assembly to be removed |
void NXOpen::Tooling::FastenerAssy::AddScrewArray | ( | const NXString & | krxFile, |
const NXString & | lengthMatch, | ||
const NXString & | libPath, | ||
const NXString & | libName, | ||
const NXString & | fullPath, | ||
int | index, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | type | ||
) |
Adds stack array
Created in NX9.0.0.
License requirements : None
krxFile | The krx file of the stack NOTE: The full Unicode character set is not supported for this parameter. |
lengthMatch | The length match from fastener data and given node NOTE: The full Unicode character set is not supported for this parameter. |
libPath | Ask fastener library path NOTE: The full Unicode character set is not supported for this parameter. |
libName | Ask fastener library name NOTE: The full Unicode character set is not supported for this parameter. |
fullPath | Stack file full path NOTE: The full Unicode character set is not supported for this parameter. |
index | The hole index in the fastener assembly |
type | The stack type method |
void NXOpen::Tooling::FastenerAssy::AddScrewArray | ( | const char * | krxFile, |
const char * | lengthMatch, | ||
const char * | libPath, | ||
const char * | libName, | ||
const char * | fullPath, | ||
int | index, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | type | ||
) |
Adds stack array
Created in NX9.0.0.
License requirements : None
krxFile | The krx file of the stack NOTE: The full Unicode character set is not supported for this parameter. |
lengthMatch | The length match from fastener data and given node NOTE: The full Unicode character set is not supported for this parameter. |
libPath | Ask fastener library path NOTE: The full Unicode character set is not supported for this parameter. |
libName | Ask fastener library name NOTE: The full Unicode character set is not supported for this parameter. |
fullPath | Stack file full path NOTE: The full Unicode character set is not supported for this parameter. |
index | The hole index in the fastener assembly |
type | The stack type method |
NXOpen::NXObject* NXOpen::Tooling::FastenerAssy::AddTopNode | ( | const NXOpen::Point3d & | point, |
const NXOpen::Point3d & | direction, | ||
NXOpen::NXObject * | selObject, | ||
int | index | ||
) |
Adds top node for the fastener assembly.
point | The point of the fastener to assemble |
direction | The direciton of the fastener to assemble |
selObject | The default cylindrical face of the hole data, selObject type should be FACE |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::AdjustFastenerLength | ( | int | parentIndex, |
int | childIndex, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType | ||
) |
Adjusts the fastener assembly length
Created in NX9.0.0.
License requirements : None
parentIndex | parent index |
childIndex | child index |
nodeType | the stack type method |
void NXOpen::Tooling::FastenerAssy::CreateArrayHole | ( | int | index | ) |
Creates array hole data for the fastener assembly
Created in NX9.0.0.
License requirements : None
index | the hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::CreateFastenerConstraints | ( | int | index | ) |
Creates fastener assembly constraint
Created in NX9.0.0.
License requirements : None
index | the hole index in the fastener assembly to create constraints |
NXOpen::Tooling::AddReusablePart* NXOpen::Tooling::FastenerAssy::CreateReusableBuilder | ( | int | parentIndex, |
int | childIndex, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType | ||
) |
Creates new reusable builder.
parentIndex | parent node index in the fastener assembly |
childIndex | child node index in the fastener assembly |
nodeType | the stack type method |
void NXOpen::Tooling::FastenerAssy::CreateReusablePocket | ( | bool | commit | ) |
Creates reusable pocket
Created in NX9.0.0.
License requirements : None
commit | whether to create pocket |
void NXOpen::Tooling::FastenerAssy::CreateSameAssemblyData | ( | int | addedIndex, |
int | index | ||
) |
Creates the same assembly data type
Created in NX9.0.0.
License requirements : None
addedIndex | find the the hole index with the same parameter and node type in the fastener assembly |
index | the hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::DeleteArrayHole | ( | int | index | ) |
Deletes array hole data for the fastener assembly
Created in NX9.0.0.
License requirements : None
index | the hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::DeleteReusablePocket | ( | ) |
Deletes reusable pocket
Created in NX9.0.0.
License requirements : None
void NXOpen::Tooling::FastenerAssy::EraseAssemblyData | ( | int | parentIndex | ) |
Erases the assembly data
Created in NX9.0.0.
License requirements : None
parentIndex | parent index |
void NXOpen::Tooling::FastenerAssy::EraseFastenerAssembly | ( | int | parentInx, |
bool | removeParent, | ||
bool | removeScrew, | ||
bool | removeStack, | ||
bool | removeArray, | ||
bool | removeBuilder, | ||
bool | initscrewBuilder, | ||
bool | initstackBuilder, | ||
bool | removeData | ||
) |
Erases fastener assembly
Created in NX9.0.0.
License requirements : None
parentInx | parent index |
removeParent | whether to remove parent instance |
removeScrew | whether to remove screw |
removeStack | whether to remove top stack and bottom stack |
removeArray | whether to remove component array |
removeBuilder | whether to remove builder |
initscrewBuilder | whether to initialize screw builder |
initstackBuilder | whether to initialize stack builder |
removeData | whether to remove data |
void NXOpen::Tooling::FastenerAssy::EraseFastenerAssemblyData | ( | int | index | ) |
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
index | The hole index in the fastener assembly to be removed |
void NXOpen::Tooling::FastenerAssy::EraseFastenerSetupData | ( | ) |
Erases the data (hole and assembly data) in fastener assembly
Created in NX9.0.0.
License requirements : None
void NXOpen::Tooling::FastenerAssy::EraseStackArray | ( | int | parentIndex, |
int | inx, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | type | ||
) |
Erases stack array
Created in NX9.0.0.
License requirements : None
parentIndex | Parent index |
inx | Child index |
type | The stack type method |
NXOpen::Tooling::FastenerAssy::ModeMethod NXOpen::Tooling::FastenerAssy::GetFastenerMode | ( | ) |
Gets the fastener mode.
NXOpen::Tooling::FastenerAssy::SelectionTypeMethod NXOpen::Tooling::FastenerAssy::GetFastenerSelectionType | ( | ) |
Gets the selection type for the hole in the fastener assembly.
NXOpen::Tooling::ReusablePocketBuilder* NXOpen::Tooling::FastenerAssy::GetReusablePocketBuilder | ( | ) |
Gets the reusable pocket builder.
void NXOpen::Tooling::FastenerAssy::InitPocketBuilder | ( | ) |
Inits pocket builder
Created in NX9.0.0.
License requirements : None
void NXOpen::Tooling::FastenerAssy::ReadAssemblyConfigure | ( | int | holeNum, |
NXOpen::Assemblies::Component * | partOcc | ||
) |
Reads fastener assembly configuration data from the hole data
Created in NX9.0.0.
License requirements : None
holeNum | hole num |
partOcc | parent node part occurance |
void NXOpen::Tooling::FastenerAssy::RemoveFastenerConstraints | ( | int | index | ) |
Removes fastener assembly constraint
Created in NX9.0.0.
License requirements : None
index | the hole index in the fastener assembly to delete constraints |
void NXOpen::Tooling::FastenerAssy::RemoveSelectedHole | ( | ) |
Removes the selected hole from the fastener setup data
Created in NX9.0.0.
License requirements : None
void NXOpen::Tooling::FastenerAssy::RenameParentNode | ( | int | index, |
const NXString & | newname | ||
) |
Renames the parent node
Created in NX9.0.0.
License requirements : None
index | parent node index in fastener assembly |
newname | new name for the parent node NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::RenameParentNode | ( | int | index, |
const char * | newname | ||
) |
Renames the parent node
Created in NX9.0.0.
License requirements : None
index | parent node index in fastener assembly |
newname | new name for the parent node NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::SaveUdoData | ( | ) |
Saves UDO data for fastener assembly
Created in NX9.0.0.
License requirements : None
void NXOpen::Tooling::FastenerAssy::SelectScrewSize | ( | int | inx, |
double | diameter, | ||
double | origindiameter, | ||
bool | selDiameter | ||
) |
Selects the screw size
Created in NX9.0.0.
License requirements : None
inx | parent index |
diameter | diameter in hole data |
origindiameter | origin diameter in hole data |
selDiameter | whether to select diameter |
void NXOpen::Tooling::FastenerAssy::SetAssemblyExtentLength | ( | int | index, |
double | extentLength | ||
) |
Sets the extent length for the fastener assembly data
Created in NX9.0.0.
License requirements : None
index | hole index in fastener assembly |
extentLength | The extent Length of the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetDefaultPlanarFaces | ( | NXOpen::NXObject * | defaultPlanarFace, |
int | inx | ||
) |
Sets the default planar face for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
defaultPlanarFace | The default planar face of the hole data, defaultPlanarFace type should be FACE |
inx | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetFastenerExtentLength | ( | double | extentLength | ) |
Sets the extent length for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
extentLength | The extent Length of the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetFastenerMode | ( | NXOpen::Tooling::FastenerAssy::ModeMethod | modeMethod | ) |
Sets the fastener mode
Created in NX9.0.0.
License requirements : None
modeMethod | mode method |
void NXOpen::Tooling::FastenerAssy::SetFastenerSelectionType | ( | NXOpen::Tooling::FastenerAssy::SelectionTypeMethod | selectionType | ) |
Sets the selection type for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
selectionType | The selection type to add the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleDefaultCylindricalFace | ( | NXOpen::NXObject * | defaultCylFaces, |
int | index | ||
) |
Sets the default cylindrical face for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
defaultCylFaces | The default cylindrical faces of the hole data, defaultCylFaces type should be FACE |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleDiameter | ( | double | diameter, |
int | index | ||
) |
Sets the diameter for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
diameter | The diameter of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleDirection | ( | const NXOpen::Point3d & | direction, |
int | index | ||
) |
Sets the direction for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
direction | The direcion of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleFaces | ( | NXOpen::NXObject * | holeFace, |
int | index | ||
) |
Sets the faces for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
holeFace | The hole face of the hole data, holeFace type is FACE |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleHeight | ( | double | height, |
int | index | ||
) |
Sets the height for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
height | The height of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleOriginDiameter | ( | double | originDiameter, |
int | index | ||
) |
Sets the origin diameter for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
originDiameter | The origin diameter of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleOriginHeight | ( | double | originheight, |
int | index | ||
) |
Sets the origin height for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
originheight | The origin height of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleOriginPosition | ( | const NXOpen::Point3d & | originposition, |
int | index | ||
) |
Sets the origin position for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
originposition | The origin position of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHolePosition | ( | const NXOpen::Point3d & | position, |
int | index | ||
) |
Sets the position for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
position | The position of the hole data |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SetHoleSideCylindricalFaces | ( | NXOpen::NXObject * | sideCylFace, |
int | index | ||
) |
Sets the side cylindrical faces for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
sideCylFace | The side cylinderical Face of the hole data |
index | The hole index in the fastener assembly, sideCylFace type should be FACE |
void NXOpen::Tooling::FastenerAssy::SetItemName | ( | const NXString & | partName, |
const NXString & | itemName | ||
) |
Adds item description for the part
Created in NX9.0.0.
License requirements : None
partName | The part name |
itemName | Item name |
void NXOpen::Tooling::FastenerAssy::SetItemName | ( | const char * | partName, |
const char * | itemName | ||
) |
Adds item description for the part
Created in NX9.0.0.
License requirements : None
partName | The part name |
itemName | Item name |
void NXOpen::Tooling::FastenerAssy::SetReusablePocketBuilder | ( | NXOpen::Tooling::ReusablePocketBuilder * | pocketTag | ) |
Sets the reusable pocket builder
Created in NX9.0.0.
License requirements : None
pocketTag | The reusable component pocket builder |
void NXOpen::Tooling::FastenerAssy::SetReuseBuilder | ( | int | index, |
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType, | ||
int | childIndex, | ||
NXOpen::Assemblies::Component * | partOcc | ||
) |
Sets the reuse builder
Created in NX9.0.0.
License requirements : None
index | parent node index in fastener assembly |
nodeType | the stack type method |
childIndex | child hole index in fastener assembly |
partOcc | new part occruance |
void NXOpen::Tooling::FastenerAssy::SetSidePlanarFaces | ( | NXOpen::NXObject * | sidePlanarFace, |
int | index | ||
) |
Sets the side planar faces for the hole in the fastener assembly
Created in NX9.0.0.
License requirements : None
sidePlanarFace | The side planar face of the hole data, sidePlanarFace type should be FACE |
index | The hole index in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::SubstituteFastenerStack | ( | int | parentIndex, |
int | childIndex, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType, | ||
const NXString & | partFile, | ||
const NXString & | krxFile, | ||
const NXString & | libName, | ||
const NXString & | pathInLib, | ||
const NXString & | lengthMatch, | ||
const NXString & | fullPath | ||
) |
Substitutes fastener stack
Created in NX9.0.0.
License requirements : None
parentIndex | parent node index in the fastener assembly |
childIndex | child node index in the fastener assembly |
nodeType | the stack type method |
partFile | part file NOTE: The full Unicode character set is not supported for this parameter. |
krxFile | krx file NOTE: The full Unicode character set is not supported for this parameter. |
libName | library name NOTE: The full Unicode character set is not supported for this parameter. |
pathInLib | library path NOTE: The full Unicode character set is not supported for this parameter. |
lengthMatch | the length match from fastener data and given node NOTE: The full Unicode character set is not supported for this parameter. |
fullPath | screw file full path NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::SubstituteFastenerStack | ( | int | parentIndex, |
int | childIndex, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType, | ||
const char * | partFile, | ||
const char * | krxFile, | ||
const char * | libName, | ||
const char * | pathInLib, | ||
const char * | lengthMatch, | ||
const char * | fullPath | ||
) |
Substitutes fastener stack
Created in NX9.0.0.
License requirements : None
parentIndex | parent node index in the fastener assembly |
childIndex | child node index in the fastener assembly |
nodeType | the stack type method |
partFile | part file NOTE: The full Unicode character set is not supported for this parameter. |
krxFile | krx file NOTE: The full Unicode character set is not supported for this parameter. |
libName | library name NOTE: The full Unicode character set is not supported for this parameter. |
pathInLib | library path NOTE: The full Unicode character set is not supported for this parameter. |
lengthMatch | the length match from fastener data and given node NOTE: The full Unicode character set is not supported for this parameter. |
fullPath | screw file full path NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::UpdateDefaultStandard | ( | int | index, |
const NXString & | standard, | ||
const NXString & | form, | ||
const NXString & | type | ||
) |
Updates default standard hole data for the fastener assembly configuration
Created in NX9.0.0.
License requirements : None
index | The hole index in hole map data |
standard | The default hole standard type in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
form | The default hole form in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
type | The default hole screw type in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::UpdateDefaultStandard | ( | int | index, |
const char * | standard, | ||
const char * | form, | ||
const char * | type | ||
) |
Updates default standard hole data for the fastener assembly configuration
Created in NX9.0.0.
License requirements : None
index | The hole index in hole map data |
standard | The default hole standard type in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
form | The default hole form in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
type | The default hole screw type in the assembly configuration NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::FastenerAssy::UpdateFastenerLength | ( | bool | adjustLength | ) |
Updates the fastener length
Created in NX9.0.0.
License requirements : None
adjustLength | Whether to adjust length in the fastener assembly |
void NXOpen::Tooling::FastenerAssy::UpdateFastenerStacks | ( | int | parentIndex, |
bool | updateScrew, | ||
bool | updatePocket | ||
) |
Updates fastener stacks
Created in NX9.0.0.
License requirements : None
parentIndex | parent index |
updateScrew | whether to update screw |
updatePocket | whether to update pocket |
void NXOpen::Tooling::FastenerAssy::UpdateHoleData | ( | int | inx, |
double | originheight, | ||
const NXOpen::Point3d & | originPoint, | ||
bool | threadhole, | ||
bool | blindhole | ||
) |
Updates the hole data
Created in NX9.0.0.
License requirements : None
inx | parent index |
originheight | origin height in hole data |
originPoint | origin point in hole data |
threadhole | whether the hole is thread hole |
blindhole | whether the hole is blind hole |
void NXOpen::Tooling::FastenerAssy::UpdateHolePostion | ( | int | parentIndex, |
const NXOpen::Point3d & | dirOne, | ||
const NXOpen::Point3d & | tempPnt, | ||
const NXOpen::Point3d & | pointOne, | ||
double | height, | ||
double | orignHeight, | ||
double | offSetDistance | ||
) |
Updates the hole positon for position method
Created in NX9.0.0.
License requirements : None
parentIndex | parent node index |
dirOne | direction in hole data |
tempPnt | position in hole data |
pointOne | origin position in hole data |
height | height in hole data |
orignHeight | origin height in hole data |
offSetDistance | offset distance in hole data |
void NXOpen::Tooling::FastenerAssy::UpdateStackPosition | ( | int | parentIndex, |
int | childIndex, | ||
NXOpen::Tooling::FastenerAssy::StackTypeMethod | nodeType, | ||
double | deltaLength | ||
) |
Updates the fastener assembly after changing stacks or changing stack properties
Created in NX9.0.0.
License requirements : None
parentIndex | parent index |
childIndex | child index |
nodeType | node type |
deltaLength | the stack length to be changed |
void NXOpen::Tooling::FastenerAssy::UpdateTopBottomStacks | ( | int | index, |
NXOpen::Tooling::FastenerAssy::SelectionObjectMethod | type, | ||
bool | isSameFace, | ||
NXOpen::NXObject * | face | ||
) |
Updates fastener assembly according to the new extends
Created in NX9.0.0.
License requirements : None
index | parent node index in fastener assembly |
type | top object or bottom object type |
isSameFace | whether the fastener assembly is same face |
face | top or bottom face |