public interface CustomManager extends TaggedObjectCollection
Session
Modifier and Type | Interface and Description |
---|---|
static interface |
CustomManager.DatumIconHandler
Method called from the part navigator to define the datum surface and pin icon.
|
static interface |
CustomManager.ModifyFeatureHandler
User defined method that is called whenever a welding joints are created or edited
|
static interface |
CustomManager.PipeJointSetType
User defined method that is called whenever a welding joint is created.
|
static interface |
CustomManager.PointExitHandler
User defined method that is called whenever a welding features are created through Weld Point command.
|
static interface |
CustomManager.VariableBevelHandler
User defined method that returns the angle divisions for a variable bevel.
|
static interface |
CustomManager.WeldJointHandler
User defined method that is called whenever a welding joint is created or updated
|
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
int |
addDatumIconHandler(CustomManager.DatumIconHandler handler)
Registers a user defined method to be notified when the part navigator is updating the surface or pin datum icon.
|
int |
addModifyFeatureHandler(CustomManager.ModifyFeatureHandler handler)
Registers a user defined method to be notified when weld features are created or edited.
|
int |
addPipeJointSetType(CustomManager.PipeJointSetType handler)
Registers a user defined method that is called whenever a welding joint is created
License requirements: None. |
int |
addPointExitHandler(CustomManager.PointExitHandler handler)
Registers a user defined method to be notified when weld point features are created.
|
int |
addVariableBevelHandler(CustomManager.VariableBevelHandler handler)
Registers a user defined method to define variable bevel angles.
|
int |
addWeldJointHandler(CustomManager.WeldJointHandler handler)
Registers a user defined method that is called whenever a welding joint is created or updated
License requirements: None. |
ConnectedPart |
askConnectedParts(NXObject weldTag)
Find the connected part information for the weld feature, curve, point or body.
|
void |
convertLegacy()
Method to convert all legacy weld points to the
PointMarkPoint class
License requirements: None. |
void |
convertLegacy(Feature[] fsetFeatures)
Method to convert selected legacy weld point feature sets to the
PointMarkPoint class
License requirements: None. |
void |
convertLegacy(Feature[] fsetFeatures,
boolean createSingleFeatures)
Method to convert weld point feature sets to the
PointMarkPoint class
License requirements: None. |
void |
convertTransformWeld(Feature[] selectedObjects)
Method to convert
Transform to their parent type. |
void |
createFeatureGroupsForCommonConnectedParts(JointmarkElement[] weldFeatures)
Method to creates Feature Groups to collect individual weld point features that have the same connected part attributes.
|
boolean[] |
hasSourceFacesInWeldPart(Feature weldFeature)
Method to determine if a
JointmarkElement feature has source faces in the weld part. |
void |
impactAnalysisCheck(NXObject[] selectedObjects)
Method to perform the Weld Impace Analysis command.
|
void |
impactAnalysisConfirm(NXObject[] selectedObjects)
Method to approve all alerts generated by the Weld Assistant Impact Analysis command.
|
NXObject[] |
locateWelds(boolean searchEntireAssembly,
boolean wantSolids,
boolean wantCurves,
boolean wantPoints)
Method to search all fully loaded parts for welding objects in an assembly or part file.
|
NXObject[] |
locateWelds(boolean searchEntireAssembly,
boolean excludeInvisibleComponents,
boolean wantSolids,
boolean wantCurves,
boolean wantPoints)
Method to search all fully loaded parts for welding objects in an assembly or part file.
|
NXObject[] |
locateWelds(boolean searchEntireAssembly,
boolean excludeInvisibleComponents,
boolean wantSolids,
boolean wantCurves,
boolean wantPoints,
boolean wantStructureWelds)
Method to search all fully loaded parts for welding objects in an assembly or part file.
|
void |
removeDatumIconHandler(int id)
Unregisters the datum common icon handler
License requirements: None. |
void |
removeModifyFeatureHandler(int id)
Unregisters the modify feature handler
License requirements: None. |
void |
removePipeJointSetType(int id)
Unregisters the pipe joint set type handler
License requirements: None. |
void |
removePointExitHandler(int id)
Unregisters the point feature handler
License requirements: None. |
void |
removeVariableBevelHandler(int id)
Unregisters the variable bevel handler
License requirements: None. |
void |
removeWeldJointHandler(int id)
Unregisters the welding joint handler
License requirements: None. |
void |
showSolids(boolean showSolids)
Method to change display mode of all Weld.PointMarkPoint feature that are fully loaded in an assembly
License requirements: None. |
_find_next, iterator
int addWeldJointHandler(CustomManager.WeldJointHandler handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removeWeldJointHandler(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
int addVariableBevelHandler(CustomManager.VariableBevelHandler handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removeVariableBevelHandler(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
int addModifyFeatureHandler(CustomManager.ModifyFeatureHandler handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removeModifyFeatureHandler(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
int addPointExitHandler(CustomManager.PointExitHandler handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removePointExitHandler(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
int addDatumIconHandler(CustomManager.DatumIconHandler handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removeDatumIconHandler(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
int addPipeJointSetType(CustomManager.PipeJointSetType handler) throws NXException, RemoteException
handler
- method to registerNXException
RemoteException
void removePipeJointSetType(int id) throws NXException, RemoteException
id
- identifier for method to unregisterNXException
RemoteException
void showSolids(boolean showSolids) throws NXException, RemoteException
showSolids
- true to show solids, false to show points.NXException
RemoteException
NXObject[] locateWelds(boolean searchEntireAssembly, boolean wantSolids, boolean wantCurves, boolean wantPoints) throws NXException, RemoteException
searchEntireAssembly
- wantSolids
- wantCurves
- wantPoints
- NXException
RemoteException
NXObject[] locateWelds(boolean searchEntireAssembly, boolean excludeInvisibleComponents, boolean wantSolids, boolean wantCurves, boolean wantPoints) throws NXException, RemoteException
searchEntireAssembly
- excludeInvisibleComponents
- wantSolids
- wantCurves
- wantPoints
- NXException
RemoteException
NXObject[] locateWelds(boolean searchEntireAssembly, boolean excludeInvisibleComponents, boolean wantSolids, boolean wantCurves, boolean wantPoints, boolean wantStructureWelds) throws NXException, RemoteException
searchEntireAssembly
- excludeInvisibleComponents
- wantSolids
- wantCurves
- wantPoints
- wantStructureWelds
- NXException
RemoteException
void convertLegacy() throws NXException, RemoteException
PointMarkPoint
class
NXException
RemoteException
void convertLegacy(Feature[] fsetFeatures) throws NXException, RemoteException
PointMarkPoint
class
fsetFeatures
- The pre-NX10 weld feature sets to convertNXException
RemoteException
void convertLegacy(Feature[] fsetFeatures, boolean createSingleFeatures) throws NXException, RemoteException
PointMarkPoint
class
fsetFeatures
- The pre-NX10 weld feature sets to convertcreateSingleFeatures
- true to create single features with no master feature, false to create a master feature.NXException
RemoteException
void createFeatureGroupsForCommonConnectedParts(JointmarkElement[] weldFeatures) throws NXException, RemoteException
JointmarkElement
in the work part to be grouped.
Connected parts A-B-C and C-B-A will be in the same group.
weldFeatures
- Individual features (those without a master feature) to group .NXException
RemoteException
ConnectedPart askConnectedParts(NXObject weldTag) throws NXException, RemoteException
locateWelds(boolean, boolean, boolean, boolean)
can be used to retrieve weld data from a part.
ConnectedPart
containing the appropriate
connected part information. If the weld input is an occurrence then a body or part occurences
will be returned in the output structures for reading the attributes on the connected parts.
weldTag
- Weld feature, curve, point or solid body.NXException
RemoteException
void impactAnalysisCheck(NXObject[] selectedObjects) throws NXException, RemoteException
selectedObjects
- Array of objects to perform an Impact Analysis for.NXException
RemoteException
void impactAnalysisConfirm(NXObject[] selectedObjects) throws NXException, RemoteException
selectedObjects
- Array of objects to approve Impact Analysis alerts for.NXException
RemoteException
void convertTransformWeld(Feature[] selectedObjects) throws NXException, RemoteException
Transform
to their parent type. For example, if a WeldBead
is
the parent, this function will convert the Transform
to a WeldBead
in the location of the
the Transform
.
selectedObjects
- Array of features to convert.NXException
RemoteException
boolean[] hasSourceFacesInWeldPart(Feature weldFeature) throws NXException, RemoteException
JointmarkElement
feature has source faces in the weld part.
weldFeature
- The feature to checkNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.