Part Class¶
-
class
NXOpen.
Part
¶ Bases:
NXOpen.BasePart
Represents an NX part of type .prt.
Use the
NXOpen.PartCollection
class to load or create a part.New in version NX3.0.0.
Properties¶
Property | Description |
---|---|
CAMSetup | Returns the CAM setup of the work part |
ComponentAssembly | Returns the component assembly. |
CurrentFeature | Returns the current feature. |
FieldManager | Returns the field main. |
FullPath | Returns the full path of the part. |
HasReuseTemplate | Returns the indicator that the part contains a reuse template. |
HasWriteAccess | Returns the write-access status of a part independent of the load state. |
InspectionSetup | Returns the CMM Inspection setup of the work part |
IsBookletPart | Returns the status on whether input part is bookletPart or not a bookletPart. |
IsFullyLoaded | Returns the load status of a part. |
IsOccurrence | Returns whether this object is an occurrence or not. |
IsReadOnly | Returns the read-only status of a part. |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
KinematicConfigurator | Returns the NXOpen.SIM.KinematicConfigurator instance of the work part |
Leaf | Returns the leaf name of the part. |
Name | Returns the custom name of the object. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
PartPreviewMode | Returns or sets the preview mode |
PartUnits | Returns the units of the part file. |
Prototype | Returns the prototype of this object if it is an occurrence. |
SaveDisplayFacets | Returns or sets whether display quality facets are saved in the part file |
Tag | Returns the Tag for this object. |
UniqueIdentifier | Returns or sets the unique identifier for this part used to determine whether parts can be quietly substituted during part open. |
Annotations |
|
Bodies |
|
CutViews |
|
Dimensions |
|
DraftingViews |
|
DrawingSheets |
|
Features |
|
ScRuleFactory |
|
Notes |
|
Labels |
|
Gdts |
|
Markers |
|
RouteManager |
|
SegmentManager |
|
Sketches |
|
Tracelines |
|
FaceSetOffsets |
|
PackagingCollection |
|
MotionManager |
|
PhysicsManager |
|
PenetrationManager |
|
DraftPointData |
|
Relinkers |
|
OnestepUnforms |
|
ReusableParts |
|
ToolingManager |
|
SketchEvaluators |
|
Drafting |
|
DraftingManager |
|
ComponentGroups |
|
ImportManager |
|
FacetedBodies |
|
ProductInterface |
|
ClipboardOperationsManager |
|
ViewPreferences |
|
SpinePointData |
|
PmiManager |
|
BlendStopshortBuilder |
|
CAMDataPrepManager |
|
FaceSetData |
|
GeometryLocationData |
|
DieSimData |
|
FacePlaneSelectionBuilderData |
|
DrawingCompare |
|
MechatronicsManager |
|
GanttCollection |
|
GanttLinkerCollection |
|
ProxyObjectCollection |
|
ProxyOverrideObjectCollection |
|
SettingsManager |
|
DisplayedConstraints |
|
ViewAlignments |
|
CAMDataManager |
|
SubdivisionBodies |
|
Component2dCollection |
|
ComponentDefinitions |
|
LocalDefinitionFolders |
|
ShipDimensions |
|
DiagrammingManager |
|
PlasManager |
|
UserDefinedTemplates |
|
LocalUntrimManager |
|
OmnicadManager |
|
Methods¶
Method | Description |
---|---|
AssignPermanentName | Saves a temporary part with the given name. |
CanBeDisplayPart | Returns true if the part can be displayed and false if not displayed @return |
Close | Closes an open part. |
CompleteStructure | Make additions necessary to complete the incomplete assembly structure of the input part |
ConvertPreNX9CompoundWelds | Convert any existing pre-NX9 Compound Weld User Defined Objects to NX features. |
CreateAttributeIterator | Create an attribute iterator @return A new attribute iterator object |
CreateBoundingObjectBuilder | Creates an NXOpen.GeometricUtilities.BoundingObjectBuilder object. |
CreateCamSetup | Creates CAM setup @return the created cam setup |
CreateDynamicSectionBuilder | Creates a NXOpen.Display.DynamicSectionBuilder The base part must be a displayable part, otherwise an exception will be thrown. |
CreateEffectivityConditionBuilder | Creates a NXOpen.EffectivityConditionBuilder @return |
CreateEmptyBlendSetbackBuilder | Creates a NXOpen.GeometricUtilities.BlendSetbackBuilder object @return New empty object |
CreateEmptyBoundaryDefinitionBuilder | Creates boundary definition builder object @return |
CreateEmptyExpressionCollectorSet | Creates an empty ExpressionCollectorSet item @return New ExpressionCollectorSet object |
CreateEmptyExpressionSectionSet | Creates an empty ExpressionSectionSet item @return New ExpressionSectionSet object |
CreateEmptyRegionPoint | Creates an empty item that contains a point and its corresponding body context for a region @return New empty Region point object |
CreateEmptySpinePlaneBuilder | Creates spine plane builder object @return |
CreateEmptyTransitionCurveBuilder | Creates a NXOpen.GeometricUtilities.TransitionCurveBuilder object @return New empty object |
CreateEmptyTwoExpressionsCollectorSet | Creates an empty TwoExpressionCollectorSet item that contains a NXOpen.ScCollector collection and two corresponding expressions @return New TwoExpressionsCollectorSet object |
CreateEmptyTwoExpressionsSectionSet | Creates an empty TwoExpressionSectionSet item that contains a NXOpen.Section section and two corresponding expressions @return New TwoExpressionsSectionSet object |
CreateExpressionCollectorSet | Creates an ExpressionCollectorSet item that contains a NXOpen.ScCollector collection and a corresponding expression @return New ExpressionCollectorSet object |
CreateExpressionSectionSet | Creates an ExpressionSectionSet item that contains a NXOpen.Section collection and a corresponding expression @return New ExpressionSectionSet object |
CreateFacetSettingsBuilder | Creates a builder for the Facet Settings dialog @return |
CreateGatewayGroupBuilder | Creates a Groups builder @return GroupBuilder object |
CreateInspectionSetup | Creates CMM Inspection setup @return the created CMM Inspection setup |
CreateKinematicConfigurator | Create an instance of NXOpen.SIM.KinematicConfigurator class that will be used to manage all Machine tool Builder and Configurator objects @return The new Machine Tool Configurator |
CreateObjectList | Creates an empty list that can be populated with any NXObject @return ObjectList object |
CreatePartFamily | Create a part family of the part. |
CreatePerspectiveOptionsBuilder | Creates a builder for the Perspective Options dialog @return |
CreatePointSetAlignmentBuilder | Creates point set alignment builder object @return |
CreatePointsFromFileBuilder | Creates a NXOpen.GeometricUtilities.PointsFromFileBuilder object @return New empty object |
CreateReferenceSet | Creates a NXOpen.ReferenceSet object @return New reference set object |
CreateRegionPoint | Creates an item that contains a point and its corresponding body context for a region @return Region point object |
CreateSelectionList | Creates a NXOpen.GeometricUtilities.SelectionList object. |
CreateTwoExpressionsCollectorSet | Creates an TwoExpressionCollectorSet item that contains a NXOpen.ScCollector collection and two corresponding expressions @return New TwoExpressionsCollectorSet object |
CreateTwoExpressionsSectionSet | Creates an TwoExpressionSectionSet item that contains a NXOpen.Section section and two corresponding expressions @return New TwoExpressionsSectionSet object |
CreateWavelinkRepository | Create the link repository to handle interpart selection @return |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteCamSetup | Delete CAM setup |
DeleteInspectionSetup | Delete CMM Inspection setup |
DeleteReferenceSet | Deletes a NXOpen.ReferenceSet object |
DeleteRetainedDraftingObjectsInCurrentLayout | Deletes all retained drafting objects in the current layout of part that are currently in the retained state. |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAllReferenceSets | Get all the NXOpen.ReferenceSet objects in this part. |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetCollaborativeContentType | The collaborative content type of this part. |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetFamilyInstance | Obtains the NXOpen.PartFamily.Instance from part. |
GetHistoryInformation | Get history of part @return list of history data for the part. |
GetIncompleteStatus | Inquire whether the provided part is flagged as being incomplete @return |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetInterpartChildren | Returns a list of child parts in the current session that contain interpart geometry. |
GetInterpartParents | Returns a list of parts in the current session that contain the defining geometry for linked geometry in this part. |
GetMakeUniqueName | Gets the Unique name on a part for the Make Unique operation @return |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetPartFamilyManager | Create an instance of a NXOpen.PartFamilyManager class that will be used to edit part family of the part. |
GetPreviewImage | Get the preview image This will return the graphic preview image of the part (when available). |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetStringAttribute | Gets a string attribute value by title. |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetTransientStatus | Inquire whether the provided part is flagged as being transient @return |
GetUpdateStatusReport | Get feature update status report @return list of affected features |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator @return |
LoadFeatureDataForSelection | Ensure that feature data is loaded for a part. |
LoadFully | Ensures that this part is fully loaded. |
LoadThisPartFully | Ensures that this part is fully loaded. |
MakeAllFeaturesInactive | Makes all the features of the part inactive |
MakeNoPartModuleActive | Deactivates any part module that is active in the given part. |
NewPartFamilyMemberData | Create an instance of a NXOpen.PartFamilyMemberData class that will be used to store the member count and member values of each member. |
NewPartFamilyMemberValues | Create an instance of a NXOpen.PartFamilyMemberValues class that will be used to store the attribute values of a member. |
NewPartFamilyTemplateManager | Creates an instance of a NXOpen.PartFamily.TemplateManager class that will be used to manage part family associated with this part @return |
Prints a representation of this object to the system log file. | |
RegenerateDisplayFacets | Regenerates display specific transient cached facets in the part. |
ReinstateTransience | Reinstate the transient status to the formerly transient input part |
RemoveTransience | Remove the transient status from the input part |
Reopen | Reopens a loaded part. |
ReopenAs | Reopens a loaded part. |
ResetTimestampToLatestFeature | Sets the timestamp for the part to the timestamp of the latest feature in the part. |
ReverseBlankAll | Reverse blank all the objects in the part. |
Save | Saves the part whether it is modified or not. |
SaveAs | Creates copy of target part. |
SaveBookmark | Saves a bookmark file. |
SetAttribute | Creates or modifies an integer attribute. |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetMakeUniqueName | Sets the unique name on part for the Make Unique operation |
SetName | Sets the custom name of the object. |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Enumerations¶
PartPartFamilyAttrType Enumeration | The part family attribute types. |
PartRelations Enumeration | The relations of the part file. |
PartUnits Enumeration | The units of the part file. |
Structs¶
PartFeatureUpdateStatus_Struct Struct | Contains feature update status report |
PartPartFamilyAttributeData_Struct Struct | Contains part family attributes information |
Property Detail¶
CAMSetup¶
-
Part.
CAMSetup
¶ Returns the CAM setup of the work part
-------------------------------------
Getter Method
Signature
CAMSetup()
Returns: the cam setup of the part Return type: NXOpen.CAM.CAMSetup
New in version NX4.0.0.
License requirements: cam_base (“CAM BASE”)
CurrentFeature¶
-
Part.
CurrentFeature
¶ Returns the current feature.
-------------------------------------
Getter Method
Signature
CurrentFeature()
Returns: Return type: NXOpen.Features.Feature
New in version NX3.0.0.
License requirements: None.
HasReuseTemplate¶
-
Part.
HasReuseTemplate
¶ Returns the indicator that the part contains a reuse template.
-------------------------------------
Getter Method
Signature
HasReuseTemplate()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
InspectionSetup¶
-
Part.
InspectionSetup
¶ Returns the CMM Inspection setup of the work part
-------------------------------------
Getter Method
Signature
InspectionSetup()
Returns: the CMM Inspection setup of the part Return type: NXOpen.CAM.InspectionSetup
New in version NX7.0.0.
License requirements: insp_programming (“INSPECTION PROGRAMMING”)
IsBookletPart¶
-
Part.
IsBookletPart
¶ Returns the status on whether input part is bookletPart or not a bookletPart.
-------------------------------------
Getter Method
Signature
IsBookletPart()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
IsOccurrence¶
-
Part.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence()
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
Part.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier()
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
KinematicConfigurator¶
-
Part.
KinematicConfigurator
¶ Returns the
NXOpen.SIM.KinematicConfigurator
instance of the work part-------------------------------------
Getter Method
Signature
KinematicConfigurator()
Returns: The Machine Tool Configurator of the work part Return type: NXOpen.SIM.KinematicConfigurator
New in version NX7.5.0.
License requirements: None.
Name¶
-
Part.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name()
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
OwningComponent¶
-
Part.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent()
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
Part.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart()
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
Prototype¶
-
Part.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype()
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
Annotations¶
-
Part.
Annotations
¶ Returns the AnnotationManager for part
Signature
Annotations()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.AnnotationManager
Bodies¶
-
Part.
Bodies
¶ Returns the BodyCollection instance belonging to this part
Signature
Bodies()
New in version NX3.0.0.
Returns: Return type: NXOpen.BodyCollection
CutViews¶
-
Part.
CutViews
¶ Returns the CutViewCollection instance belonging to this part
Signature
CutViews()
New in version NX3.0.0.
Returns: Return type: NXOpen.CutViewCollection
Dimensions¶
-
Part.
Dimensions
¶ Returns the DimensionCollection instance belonging to this part
Signature
Dimensions()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.DimensionCollection
DraftingViews¶
-
Part.
DraftingViews
¶ Returns the DraftingViewCollection instance belonging to this part
Signature
DraftingViews()
New in version NX3.0.0.
Returns: Return type: NXOpen.Drawings.DraftingViewCollection
DrawingSheets¶
-
Part.
DrawingSheets
¶ Returns the DrawingSheetCollection instance belonging to this part
Signature
DrawingSheets()
New in version NX3.0.0.
Returns: Return type: NXOpen.Drawings.DrawingSheetCollection
Features¶
-
Part.
Features
¶ Returns the FeatureCollection instance belonging to this part
Signature
Features()
New in version NX3.0.0.
Returns: Return type: NXOpen.Features.FeatureCollection
ScRuleFactory¶
-
Part.
ScRuleFactory
¶ Returns the ScRuleFactory instance belonging to this part
Signature
ScRuleFactory()
New in version NX3.0.0.
Returns: Return type: NXOpen.ScRuleFactory
Notes¶
-
Part.
Notes
¶ Returns a collection of notes
Signature
Notes()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.NoteCollection
Labels¶
-
Part.
Labels
¶ Returns a collection of labels
Signature
Labels()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.LabelCollection
Gdts¶
-
Part.
Gdts
¶ Returns a collection of GDTs
Signature
Gdts()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.GdtCollection
Markers¶
-
Part.
Markers
¶ Return a collection of Markers
Signature
Markers()
New in version NX3.0.0.
Returns: Return type: NXOpen.Motion.MarkerCollection
RouteManager¶
-
Part.
RouteManager
¶ Returns the RouteManager for this part
Signature
RouteManager()
New in version NX3.0.0.
Returns: Return type: NXOpen.Routing.RouteManager
SegmentManager¶
-
Part.
SegmentManager
¶ Returns the SegmentManager for this part
Signature
SegmentManager()
New in version NX3.0.0.
Returns: Return type: NXOpen.Routing.SegmentManager
Sketches¶
-
Part.
Sketches
¶ Returns the SketchCollection instance belonging to this part
Signature
Sketches()
New in version NX3.0.0.
Returns: Return type: NXOpen.SketchCollection
Tracelines¶
-
Part.
Tracelines
¶ Returns a collection of tracelines
Signature
Tracelines()
New in version NX3.0.0.
Returns: Return type: NXOpen.TracelineCollection
FaceSetOffsets¶
-
Part.
FaceSetOffsets
¶ Returns the FaceSetOffsets instance belonging to this part
Signature
FaceSetOffsets()
New in version NX3.0.0.
Returns: Return type: NXOpen.GeometricUtilities.FaceSetOffsetCollection
PackagingCollection¶
-
Part.
PackagingCollection
¶ Returns the PackagingCollection for this part
Signature
PackagingCollection()
New in version NX3.0.0.
Returns: Return type: NXOpen.Motion.PackagingCollection
MotionManager¶
-
Part.
MotionManager
¶ Returns the MotionManager for this part
Signature
MotionManager()
New in version NX3.0.0.
Returns: Return type: NXOpen.Motion.MotionManager
PhysicsManager¶
-
Part.
PhysicsManager
¶ Returns the PhysicsManager for this part
Signature
PhysicsManager()
New in version NX7.5.1.
Returns: Return type: NXOpen.Mechatronics.PhysicsManager
PenetrationManager¶
-
Part.
PenetrationManager
¶ Returns the PenetrationManager for this part
Signature
PenetrationManager()
New in version NX8.0.0.
Returns: Return type: NXOpen.Features.ShipDesign.PenetrationManager
DraftPointData¶
-
Part.
DraftPointData
¶ Returns the collection of DraftPointData
Signature
DraftPointData()
New in version NX3.0.0.
Returns: Return type: NXOpen.DraftPointDataCollection
Relinkers¶
-
Part.
Relinkers
¶ Returns the RelinkerCollection instance belonging to this part
Signature
Relinkers()
New in version NX3.0.0.
Returns: Return type: NXOpen.Assemblies.RelinkerCollection
OnestepUnforms¶
-
Part.
OnestepUnforms
¶ Returns the BodyDes.
OnestepUnformCollection instance belonging to this part
Signature
OnestepUnforms()
New in version NX3.0.0.
Returns: Return type: NXOpen.BodyDes.OnestepUnformCollection
ReusableParts¶
-
Part.
ReusableParts
¶ Returns the AddReusablePartCollection instance belonging to this part
Signature
ReusableParts()
New in version NX3.0.0.
Returns: Return type: NXOpen.Tooling.AddReusablePartCollection
ToolingManager¶
-
Part.
ToolingManager
¶ Returns the ToolingManager instance belonging to this part
Signature
ToolingManager()
New in version NX3.0.0.
Returns: Return type: NXOpen.Tooling.ToolingManager
SketchEvaluators¶
-
Part.
SketchEvaluators
¶ Returns the collection of SketchEvaluator
Signature
SketchEvaluators()
New in version NX3.0.0.
Returns: Return type: NXOpen.SketchEvaluatorCollection
Drafting¶
-
Part.
Drafting
¶ Returns the DraftingManager for part
Signature
Drafting()
New in version NX3.0.0.
Returns: Return type: NXOpen.DraftingManager
DraftingManager¶
-
Part.
DraftingManager
¶ Returns the DraftingApplicationManager for part
Signature
DraftingManager()
New in version NX7.5.0.
Returns: Return type: NXOpen.Drafting.DraftingApplicationManager
ComponentGroups¶
-
Part.
ComponentGroups
¶ Returns the collection of ComponentGroups for this part
Signature
ComponentGroups()
New in version NX5.0.0.
Returns: Return type: NXOpen.Assemblies.ComponentGroupCollection
ImportManager¶
-
Part.
ImportManager
¶ Returns the import manager for this part
Signature
ImportManager()
New in version NX5.0.0.
Returns: Return type: NXOpen.ImportManager
FacetedBodies¶
-
Part.
FacetedBodies
¶ Returns the FacetedBodyCollection instance belonging to this part
Signature
FacetedBodies()
New in version NX5.0.0.
Returns: Return type: NXOpen.Facet.FacetedBodyCollection
ProductInterface¶
-
Part.
ProductInterface
¶ Returns the ProductInterface Collection
Signature
ProductInterface()
New in version NX5.0.0.
Returns: Return type: NXOpen.Assemblies.ProductInterface.Collection
ClipboardOperationsManager¶
-
Part.
ClipboardOperationsManager
¶ Returns the ClipboardOperations manager for this part
Signature
ClipboardOperationsManager()
New in version NX5.0.0.
Returns: Return type: NXOpen.ClipboardOperationsManager
ViewPreferences¶
-
Part.
ViewPreferences
¶ Returns the ViewPreferences Collection
Signature
ViewPreferences()
New in version NX5.0.0.
Returns: Return type: NXOpen.Preferences.ViewPreferences
SpinePointData¶
-
Part.
SpinePointData
¶ Returns the SpinePointDataCollection instance belonging to this part
Signature
SpinePointData()
New in version NX5.0.0.
Returns: Return type: NXOpen.GeometricUtilities.SpinePointDataCollection
PmiManager¶
-
Part.
PmiManager
¶ Returns the PmiManager for this part
Signature
PmiManager()
New in version NX3.0.0.
Returns: Return type: NXOpen.Annotations.PmiManager
BlendStopshortBuilder¶
-
Part.
BlendStopshortBuilder
¶ Returns the BlendStopshortBuilderCollection instance belonging to this part
Signature
BlendStopshortBuilder()
New in version NX5.0.0.
Returns: Return type: NXOpen.GeometricUtilities.BlendStopshortBuilderCollection
CAMDataPrepManager¶
-
Part.
CAMDataPrepManager
¶ Returns the CAMDataPrepManager instance belonging to this part
Signature
CAMDataPrepManager()
New in version NX9.0.0.
Returns: Return type: NXOpen.GeometricUtilities.CAMDataPrepManager
FaceSetData¶
-
Part.
FaceSetData
¶ Returns the FaceSetDataCollection instance belonging to this part
Signature
FaceSetData()
New in version NX5.0.0.
Returns: Return type: NXOpen.GeometricUtilities.FaceSetDataCollection
GeometryLocationData¶
-
Part.
GeometryLocationData
¶ Returns the GeometryLocationDataCollection instance belonging to this part
Signature
GeometryLocationData()
New in version NX5.0.0.
Returns: Return type: NXOpen.GeometricUtilities.GeometryLocationDataCollection
DieSimData¶
-
Part.
DieSimData
¶ Returns the Die.
DieSimCollection instance belonging to this part
Signature
DieSimData()
New in version NX3.0.0.
Returns: Return type: NXOpen.Die.DieSimCollection
FacePlaneSelectionBuilderData¶
-
Part.
FacePlaneSelectionBuilderData
¶ Returns the FacePlaneSelectionBuilderCollection instance belonging to this part
Signature
FacePlaneSelectionBuilderData()
New in version NX6.0.0.
Returns: Return type: NXOpen.GeometricUtilities.FacePlaneSelectionBuilderCollection
DrawingCompare¶
-
Part.
DrawingCompare
¶ Returns the DraftingManager for part
Signature
DrawingCompare()
New in version NX7.5.0.
Returns: Return type: NXOpen.DrawingCompareManager
MechatronicsManager¶
-
Part.
MechatronicsManager
¶ Returns the MechatronicsManager instance belonging to this part
Signature
MechatronicsManager()
New in version NX7.5.1.
Returns: Return type: NXOpen.Mechatronics.MechatronicsManager
GanttCollection¶
-
Part.
GanttCollection
¶ Returns the GanttCollection instance belonging to this part
Signature
GanttCollection()
New in version NX7.5.1.
Returns: Return type: NXOpen.Mechatronics.GanttCollection
GanttLinkerCollection¶
-
Part.
GanttLinkerCollection
¶ Returns the GanttLinkerCollection instance belonging to this part
Signature
GanttLinkerCollection()
New in version NX10.0.0.
Returns: Return type: NXOpen.Mechatronics.GanttLinkerCollection
ProxyObjectCollection¶
-
Part.
ProxyObjectCollection
¶ Returns the ProxyObjectCollection instance belonging to this part
Signature
ProxyObjectCollection()
New in version NX8.5.0.
Returns: Return type: NXOpen.Mechatronics.ProxyObjectCollection
ProxyOverrideObjectCollection¶
-
Part.
ProxyOverrideObjectCollection
¶ Returns the ProxyOverrideObjectCollection instance belonging to this part
Signature
ProxyOverrideObjectCollection()
New in version NX8.5.0.
Returns: Return type: NXOpen.Mechatronics.ProxyOverrideObjectCollection
SettingsManager¶
-
Part.
SettingsManager
¶ Returns the SettingsManager for part
Signature
SettingsManager()
New in version NX9.0.0.
Returns: Return type: NXOpen.Drafting.SettingsManager
DisplayedConstraints¶
-
Part.
DisplayedConstraints
¶ Returns the DisplayedConstraintCollection belonging to this part
Signature
DisplayedConstraints()
New in version NX7.5.0.
Returns: Return type: NXOpen.Positioning.DisplayedConstraintCollection
ViewAlignments¶
-
Part.
ViewAlignments
¶ Returns the ViewAlignmentCollection belonging to this part
Signature
ViewAlignments()
New in version NX8.5.0.
Returns: Return type: NXOpen.Drawings.ViewAlignmentCollection
CAMDataManager¶
-
Part.
CAMDataManager
¶ Returns the Tooling.
CAMDataManager for this part
Signature
CAMDataManager()
New in version NX9.0.0.
Returns: Return type: NXOpen.Tooling.CAMDataManager
SubdivisionBodies¶
-
Part.
SubdivisionBodies
¶ Returns the SubdivisionBodyCollection instance belonging to this part
Signature
SubdivisionBodies()
New in version NX9.0.0.
Returns: Return type: NXOpen.Features.Subdivision.SubdivisionBodyCollection
Component2dCollection¶
-
Part.
Component2dCollection
¶ Returns the ComponentCollection instance belonging to this part
Signature
Component2dCollection()
New in version NX9.0.0.
Returns: Return type: NXOpen.Layout2d.ComponentCollection
ComponentDefinitions¶
-
Part.
ComponentDefinitions
¶ Returns the ComponentDefinitionCollection instance belonging to this part
Signature
ComponentDefinitions()
New in version NX9.0.0.
Returns: Return type: NXOpen.Layout2d.ComponentDefinitionCollection
LocalDefinitionFolders¶
-
Part.
LocalDefinitionFolders
¶ Returns the LocalDefinitionFolderCollection instance belonging to this part
Signature
LocalDefinitionFolders()
New in version NX9.0.0.
Returns: Return type: NXOpen.Layout2d.LocalDefinitionFolderCollection
ShipDimensions¶
-
Part.
ShipDimensions
¶ Returns the ShipDimensionCollection instance belonging to this part
Signature
ShipDimensions()
New in version NX9.0.0.
Returns: Return type: NXOpen.Annotations.ShipDimensionCollection
DiagrammingManager¶
-
Part.
DiagrammingManager
¶ Returns the DiagrammingManager instance belonging to this part
Signature
DiagrammingManager()
New in version NX10.0.0.
Returns: Return type: NXOpen.Diagramming.DiagrammingManager
PlasManager¶
-
Part.
PlasManager
¶ Returns the PlasManager instance belonging to this part
Signature
PlasManager()
New in version NX11.0.0.
Returns: Return type: NXOpen.PLAS.PlasManager
UserDefinedTemplates¶
-
Part.
UserDefinedTemplates
¶ Returns the UserDefinedTemplate.
Collection instance belonging to this part
Signature
UserDefinedTemplates()
New in version NX10.0.0.
Returns: Return type: NXOpen.UserDefinedTemplate.Collection
LocalUntrimManager¶
-
Part.
LocalUntrimManager
¶ Obtains the LocalUntrimManager instance belonging to this part
Signature
LocalUntrimManager()
New in version NX9.0.0.
Returns: Return type: NXOpen.GeometricUtilities.LocalUntrimManager
OmnicadManager¶
-
Part.
OmnicadManager
¶ Obtains the OmnicadManager instance belonging to this part
Signature
OmnicadManager()
New in version NX10.0.0.
Returns: Return type: NXOpen.GeometricUtilities.OmnicadManager
Method Detail¶
ConvertPreNX9CompoundWelds¶
-
Part.
ConvertPreNX9CompoundWelds
¶ Convert any existing pre-NX9 Compound Weld User Defined Objects to NX features.
Signature
ConvertPreNX9CompoundWelds()
New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CreateBoundingObjectBuilder¶
-
Part.
CreateBoundingObjectBuilder
¶ Creates an
NXOpen.GeometricUtilities.BoundingObjectBuilder
object.Signature
CreateBoundingObjectBuilder()
Returns: Return type: NXOpen.GeometricUtilities.BoundingObjectBuilder
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CreateCamSetup¶
-
Part.
CreateCamSetup
¶ Creates CAM setup
Signature
CreateCamSetup(templateName)
Parameters: templateName (str) – the name of the template type Returns: the created cam setup Return type: NXOpen.CAM.CAMSetup
New in version NX4.0.0.
License requirements: cam_base (“CAM BASE”)
CreateEmptyBlendSetbackBuilder¶
-
Part.
CreateEmptyBlendSetbackBuilder
¶ Creates a
NXOpen.GeometricUtilities.BlendSetbackBuilder
objectSignature
CreateEmptyBlendSetbackBuilder()
Returns: New empty object Return type: NXOpen.GeometricUtilities.BlendSetbackBuilder
New in version NX9.0.0.
License requirements: None.
CreateEmptyBoundaryDefinitionBuilder¶
-
Part.
CreateEmptyBoundaryDefinitionBuilder
¶ Creates boundary definition builder object
Signature
CreateEmptyBoundaryDefinitionBuilder()
Returns: Return type: NXOpen.GeometricUtilities.BoundaryDefinitionBuilder
New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
CreateEmptyExpressionCollectorSet¶
-
Part.
CreateEmptyExpressionCollectorSet
¶ Creates an empty ExpressionCollectorSet item
Signature
CreateEmptyExpressionCollectorSet()
Returns: New ExpressionCollectorSet object Return type: NXOpen.ExpressionCollectorSet
New in version NX5.0.0.
License requirements: None.
CreateEmptyExpressionSectionSet¶
-
Part.
CreateEmptyExpressionSectionSet
¶ Creates an empty ExpressionSectionSet item
Signature
CreateEmptyExpressionSectionSet()
Returns: New ExpressionSectionSet object Return type: NXOpen.ExpressionSectionSet
New in version NX5.0.0.
License requirements: None.
CreateEmptyRegionPoint¶
-
Part.
CreateEmptyRegionPoint
¶ Creates an empty item that contains a point and its corresponding body context for a region
Signature
CreateEmptyRegionPoint()
Returns: New empty Region point object Return type: NXOpen.RegionPoint
New in version NX5.0.0.
License requirements: None.
CreateEmptySpinePlaneBuilder¶
-
Part.
CreateEmptySpinePlaneBuilder
¶ Creates spine plane builder object
Signature
CreateEmptySpinePlaneBuilder()
Returns: Return type: NXOpen.GeometricUtilities.SpinePlaneBuilder
New in version NX11.0.0.
License requirements: None.
CreateEmptyTransitionCurveBuilder¶
-
Part.
CreateEmptyTransitionCurveBuilder
¶ Creates a
NXOpen.GeometricUtilities.TransitionCurveBuilder
objectSignature
CreateEmptyTransitionCurveBuilder()
Returns: New empty object Return type: NXOpen.GeometricUtilities.TransitionCurveBuilder
New in version NX9.0.0.
License requirements: None.
CreateEmptyTwoExpressionsCollectorSet¶
-
Part.
CreateEmptyTwoExpressionsCollectorSet
¶ Creates an empty TwoExpressionCollectorSet item that contains a
NXOpen.ScCollector
collection and two corresponding expressionsSignature
CreateEmptyTwoExpressionsCollectorSet()
Returns: New TwoExpressionsCollectorSet object Return type: NXOpen.GeometricUtilities.TwoExpressionsCollectorSet
New in version NX8.5.0.
License requirements: None.
CreateEmptyTwoExpressionsSectionSet¶
-
Part.
CreateEmptyTwoExpressionsSectionSet
¶ Creates an empty TwoExpressionSectionSet item that contains a
NXOpen.Section
section and two corresponding expressionsSignature
CreateEmptyTwoExpressionsSectionSet()
Returns: New TwoExpressionsSectionSet object Return type: NXOpen.GeometricUtilities.TwoExpressionsSectionSet
New in version NX9.0.0.
License requirements: None.
CreateExpressionCollectorSet¶
-
Part.
CreateExpressionCollectorSet
¶ Creates an ExpressionCollectorSet item that contains a
NXOpen.ScCollector
collection and a corresponding expressionSignature
CreateExpressionCollectorSet(collector, value, unitsType, index)
Parameters: - collector (
NXOpen.ScCollector
) – Selection object - value (str) – initial expression string
- unitsType (str) – units of expression
- index (int) – This parameter has no effect, and is ignored
Returns: New ExpressionCollectorSet object
Return type: New in version NX5.0.0.
License requirements: None.
- collector (
CreateExpressionSectionSet¶
-
Part.
CreateExpressionSectionSet
¶ Creates an ExpressionSectionSet item that contains a
NXOpen.Section
collection and a corresponding expressionSignature
CreateExpressionSectionSet(section, value, unitsType, index)
Parameters: - section (
NXOpen.Section
) – Section object - value (str) – initial expression string
- unitsType (str) – units of expression
- index (int) – This parameter has no effect, and is ignored
Returns: New ExpressionSectionSet object
Return type: New in version NX5.0.0.
License requirements: None.
- section (
CreateInspectionSetup¶
-
Part.
CreateInspectionSetup
¶ Creates CMM Inspection setup
Signature
CreateInspectionSetup(templateName)
Parameters: templateName (str) – the name of the template type Returns: the created CMM Inspection setup Return type: NXOpen.CAM.InspectionSetup
New in version NX7.0.0.
License requirements: insp_programming (“INSPECTION PROGRAMMING”)
CreateKinematicConfigurator¶
-
Part.
CreateKinematicConfigurator
¶ Create an instance of
NXOpen.SIM.KinematicConfigurator
class that will be used to manage all Machine tool Builder and Configurator objectsSignature
CreateKinematicConfigurator()
Returns: The new Machine Tool Configurator Return type: NXOpen.SIM.KinematicConfigurator
New in version NX7.5.0.
License requirements: ug_isv_full (“Full functionality for Integrated Simulation and Verification”) OR nx_isv_mtb (“Machine Tool Builder”) OR resource_manager_nx (“Teamcenter Resource Manager”)
CreateObjectList¶
-
Part.
CreateObjectList
¶ Creates an empty list that can be populated with any NXObject
Signature
CreateObjectList()
Returns: ObjectList object Return type: NXOpen.ObjectList
New in version NX4.0.0.
License requirements: None.
CreatePartFamily¶
-
Part.
CreatePartFamily
¶ Create a part family of the part.
Signature
CreatePartFamily(attributeData, memberData)
Parameters: - attributeData (list of
NXOpen.PartPartFamilyAttributeData_Struct
) – the attributes data - memberData (
NXOpen.PartFamilyMemberData
) – the member data
Returns: the new
NXOpen.PartFamilyManager
instanceReturn type: New in version NX6.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.PartFamily.TemplateManager.CreatePartFamily()
insteadLicense requirements: None.
- attributeData (list of
CreatePointSetAlignmentBuilder¶
-
Part.
CreatePointSetAlignmentBuilder
¶ Creates point set alignment builder object
Signature
CreatePointSetAlignmentBuilder()
Returns: Return type: NXOpen.GeometricUtilities.PointSetAlignmentBuilder
New in version NX7.5.0.
License requirements: studio_free_form (“STUDIO FREE FORM”)
CreatePointsFromFileBuilder¶
-
Part.
CreatePointsFromFileBuilder
¶ Creates a
NXOpen.GeometricUtilities.PointsFromFileBuilder
objectSignature
CreatePointsFromFileBuilder()
Returns: New empty object Return type: NXOpen.GeometricUtilities.PointsFromFileBuilder
New in version NX8.5.0.
License requirements: None.
CreateRegionPoint¶
-
Part.
CreateRegionPoint
¶ Creates an item that contains a point and its corresponding body context for a region
Signature
CreateRegionPoint(point, body)
Parameters: - point (
NXOpen.Point
) – Point object - body (
NXOpen.Body
) – Body context object for point
Returns: Region point object
Return type: New in version NX5.0.0.
License requirements: None.
- point (
CreateSelectionList¶
-
Part.
CreateSelectionList
¶ Creates a
NXOpen.GeometricUtilities.SelectionList
object.Signature
CreateSelectionList()
Returns: Return type: NXOpen.GeometricUtilities.SelectionList
New in version NX8.0.0.
License requirements: None.
CreateTwoExpressionsCollectorSet¶
-
Part.
CreateTwoExpressionsCollectorSet
¶ Creates an TwoExpressionCollectorSet item that contains a
NXOpen.ScCollector
collection and two corresponding expressionsSignature
CreateTwoExpressionsCollectorSet(collector, value, valueTwo, unitsType, index)
Parameters: - collector (
NXOpen.ScCollector
) – Selection object - value (str) – initial expression string
- valueTwo (str) – initial expression string for second expression
- unitsType (str) – units of expression
- index (int) – This parameter has no effect, and is ignored
Returns: New TwoExpressionsCollectorSet object
Return type: New in version NX8.5.0.
License requirements: None.
- collector (
CreateTwoExpressionsSectionSet¶
-
Part.
CreateTwoExpressionsSectionSet
¶ Creates an TwoExpressionSectionSet item that contains a
NXOpen.Section
section and two corresponding expressionsSignature
CreateTwoExpressionsSectionSet(section, value, valueTwo, unitsType, index)
Parameters: - section (
NXOpen.Section
) – Selection object - value (str) – initial expression string for first expression
- valueTwo (str) – initial expression string for second expression
- unitsType (str) – units of expression
- index (int) – This parameter has no effect, and is ignored
Returns: New TwoExpressionsSectionSet object
Return type: New in version NX9.0.0.
License requirements: None.
- section (
CreateWavelinkRepository¶
-
Part.
CreateWavelinkRepository
¶ Create the link repository to handle interpart selection
Signature
CreateWavelinkRepository()
Returns: Return type: NXOpen.GeometricUtilities.WaveLinkRepository
New in version NX6.0.0.
License requirements: None.
DeleteCamSetup¶
-
Part.
DeleteCamSetup
¶ Delete CAM setup
Signature
DeleteCamSetup()
New in version NX4.0.0.
License requirements: cam_base (“CAM BASE”)
DeleteInspectionSetup¶
-
Part.
DeleteInspectionSetup
¶ Delete CMM Inspection setup
Signature
DeleteInspectionSetup()
New in version NX7.0.0.
License requirements: insp_programming (“INSPECTION PROGRAMMING”)
DeleteRetainedDraftingObjectsInCurrentLayout¶
-
Part.
DeleteRetainedDraftingObjectsInCurrentLayout
¶ Deletes all retained drafting objects in the current layout of part that are currently in the “retained” state.
Signature
DeleteRetainedDraftingObjectsInCurrentLayout()
New in version NX3.0.0.
License requirements: None.
FindObject¶
-
Part.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetFamilyInstance¶
-
Part.
GetFamilyInstance
¶ Obtains the
NXOpen.PartFamily.Instance
from part.Signature
GetFamilyInstance()
Returns: Return type: NXOpen.PartFamily.Instance
New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
GetInterpartChildren¶
-
Part.
GetInterpartChildren
¶ Returns a list of child parts in the current session that contain interpart geometry.
Signature
GetInterpartChildren()
Returns: Return type: list of NXOpen.Part
New in version NX3.0.0.
License requirements: None.
GetInterpartParents¶
-
Part.
GetInterpartParents
¶ Returns a list of parts in the current session that contain the defining geometry for linked geometry in this part.
Signature
GetInterpartParents()
Returns: Return type: list of NXOpen.Part
New in version NX3.0.0.
License requirements: None.
GetPartFamilyManager¶
-
Part.
GetPartFamilyManager
¶ Create an instance of a
NXOpen.PartFamilyManager
class that will be used to edit part family of the part.Signature
GetPartFamilyManager()
Returns: the new NXOpen.PartFamilyManager
instanceReturn type: NXOpen.PartFamilyManager
New in version NX6.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.Part.NewPartFamilyTemplateManager()
insteadLicense requirements: None.
GetUpdateStatusReport¶
-
Part.
GetUpdateStatusReport
¶ Get feature update status report
Signature
GetUpdateStatusReport()
Returns: a tuple Return type: A tuple consisting of (updateStatus, numFailed). updateStatus is a list of NXOpen.PartFeatureUpdateStatus_Struct
. list of affected features numFailed is a int. number of failed featuresNew in version NX3.0.0.
License requirements: None.
MakeAllFeaturesInactive¶
-
Part.
MakeAllFeaturesInactive
¶ Makes all the features of the part inactive
Signature
MakeAllFeaturesInactive()
New in version NX7.5.4.
License requirements: solid_modeling (“SOLIDS MODELING”)
MakeNoPartModuleActive¶
-
Part.
MakeNoPartModuleActive
¶ Deactivates any part module that is active in the given part.
Signature
MakeNoPartModuleActive()
New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
NewPartFamilyMemberData¶
-
Part.
NewPartFamilyMemberData
¶ Create an instance of a
NXOpen.PartFamilyMemberData
class that will be used to store the member count and member values of each member.Signature
NewPartFamilyMemberData()
Returns: the new NXOpen.PartFamilyMemberData
instanceReturn type: NXOpen.PartFamilyMemberData
New in version NX6.0.0.
Deprecated since version NX9.0.0: Create and use
NXOpen.PartFamily.InstanceDefinition
objects usingNXOpen.PartFamily.TemplateManager.AddInstanceDefinition()
License requirements: None.
NewPartFamilyMemberValues¶
-
Part.
NewPartFamilyMemberValues
¶ Create an instance of a
NXOpen.PartFamilyMemberValues
class that will be used to store the attribute values of a member.Signature
NewPartFamilyMemberValues()
Returns: the new NXOpen.PartFamilyMemberValues
instanceReturn type: NXOpen.PartFamilyMemberValues
New in version NX6.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.PartFamily.InstanceDefinition
andNXOpen.PartFamily.InstanceDefinition.SetValueOfAttribute()
License requirements: None.
NewPartFamilyTemplateManager¶
-
Part.
NewPartFamilyTemplateManager
¶ Creates an instance of a
NXOpen.PartFamily.TemplateManager
class that will be used to manage part family associated with this partSignature
NewPartFamilyTemplateManager()
Returns: Return type: NXOpen.PartFamily.TemplateManager
New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Print¶
-
Part.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
ResetTimestampToLatestFeature¶
-
Part.
ResetTimestampToLatestFeature
¶ Sets the timestamp for the part to the timestamp of the latest feature in the part.
Use this when you have deleted the latest feature and you want to reuse the timestamp assigned to that feature
Signature
ResetTimestampToLatestFeature()
New in version NX3.0.0.
License requirements: None.
SetName¶
-
Part.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.