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

This class serves as a gateway to part-specific tools for NX Manager mode. More...

Inheritance diagram for NXOpen.PDM.PdmPart:
NXOpen.Utilities.NXRemotableObject IMessageSink

Classes

struct  _CheckoutInput
 Reservation check-out input struct
 
struct  _PcaexpressionsInput
 Part Expressions input struct
 
struct  CheckinInput
 Reservation check-in input struct More...
 
struct  CheckoutInput
 Reservation check-out input struct More...
 
struct  PcaexpressionsInput
 Part Expressions input struct More...
 

Public Member Functions

unsafe void ApplyVariantExpressions (NXOpen.PDM.PdmPart.PcaexpressionsInput[] pcaexpressionsInInput)
 Apply the variant expressions to the part. More...
 
unsafe void AssignPermanentName (string newFileName)
 Assign a permanent name to the temporary part More...
 
unsafe NXOpen.PDM.OperationErrors CheckinParts (NXOpen.BasePart[] partsToCheckIn, NXOpen.PDM.PdmPart.CheckinInput checkInInput)
 Given an array of parts, check in the parts. More...
 
unsafe void Checkout ()
 Checkout the part More...
 
unsafe NXOpen.PDM.OperationErrors CheckoutParts (NXOpen.BasePart[] partsToCheckOut, NXOpen.PDM.PdmPart.CheckoutInput checkOutInput)
 Given an array of parts, check out the parts. More...
 
unsafe void GetCheckedoutStatusAndUser (out bool isCheckedOut, out string checkedOutBy)
 Returns Checked out status of part and Checked out by. More...
 
unsafe void GetOwnerAndGroup (out string owner, out string group)
 Returns owner and group for part. More...
 
unsafe string[] GetProjects ()
 Returns the assigned project names array. More...
 
unsafe string[] GetRelatedDrawings ()
 Get the related drawings of loaded part. More...
 
unsafe string GetReleaseStatus ()
 Returns release status of part. More...
 
unsafe bool IsModifiable ()
 Returns true if the part is modifiable. More...
 
unsafe string[] ListNonMasters (string nonMasterFileType)
 Given a part, get the names of the non-master types. More...
 
unsafe
NXOpen.PDM.AlternateIdManager 
NewAlternateIdManager ()
 Create an instance of a NXOpen.PDM.AlternateIdManager class that will be used to create alternate ID information on the part. More...
 
unsafe
NXOpen.PDM.DatabaseAttributeManager 
NewDatabaseAttributeManager ()
 Create an instance of a NXOpen.PDM.DatabaseAttributeManager class that will be used to modify database attributes of the part. More...
 
unsafe void PublishHdImagesForModelViews (int imageWidth, int imageHight)
 Publish high-definition images for disclosed model views in the input displayed part. More...
 
unsafe void SetDefaultFolderForPart ()
 Set default folder for the part in which it is to be saved More...
 
unsafe void SetPreciseStructureOnSave (NXOpen.BasePart[] partsToSetPreciseOnSave)
 Given an array of parts, Parts to set precise structure on save. 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

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.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Detailed Description

This class serves as a gateway to part-specific tools for NX Manager mode.

To obtain an instance of this class, refer to NXOpen.BasePart

Created in NX4.0.0

Member Function Documentation

unsafe void NXOpen.PDM.PdmPart.ApplyVariantExpressions ( NXOpen.PDM.PdmPart.PcaexpressionsInput[]  pcaexpressionsInInput)
inline

Apply the variant expressions to the part.

Created in NX1872.0.0

License requirements: None.

Parameters
pcaexpressionsInInputInput PCA Expressions which need to be applied to the part
unsafe void NXOpen.PDM.PdmPart.AssignPermanentName ( string  newFileName)
inline

Assign a permanent name to the temporary part

Created in NX7.5.0

License requirements: None.

Parameters
newFileNamename of new part file to create
unsafe NXOpen.PDM.OperationErrors NXOpen.PDM.PdmPart.CheckinParts ( NXOpen.BasePart[]  partsToCheckIn,
NXOpen.PDM.PdmPart.CheckinInput  checkInInput 
)
inline

Given an array of parts, check in the parts.

Created in NX8.5.0

License requirements: None.

Parameters
partsToCheckInArray of parts to check in
checkInInputInput which control the check in behavior
Returns
Errors encountered during the checkin
unsafe void NXOpen.PDM.PdmPart.Checkout ( )
inline

Checkout the part

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.PDM.OperationErrors NXOpen.PDM.PdmPart.CheckoutParts ( NXOpen.BasePart[]  partsToCheckOut,
NXOpen.PDM.PdmPart.CheckoutInput  checkOutInput 
)
inline

Given an array of parts, check out the parts.

Created in NX8.5.0

License requirements: None.

Parameters
partsToCheckOutArray of parts to check out
checkOutInputInput which control the check out behavior
Returns
Errors encountered during the checkout
unsafe void NXOpen.PDM.PdmPart.GetCheckedoutStatusAndUser ( out bool  isCheckedOut,
out string  checkedOutBy 
)
inline

Returns Checked out status of part and Checked out by.

Created in NX12.0.2

License requirements: None.

Parameters
isCheckedOutChecked out status of given part
checkedOutByChecked out by user
unsafe void NXOpen.PDM.PdmPart.GetOwnerAndGroup ( out string  owner,
out string  group 
)
inline

Returns owner and group for part.

Loads value from Teamcenter if not available with NX.

Created in NX1847.0.0

License requirements: None.

Parameters
owner
group
unsafe string [] NXOpen.PDM.PdmPart.GetProjects ( )
inline

Returns the assigned project names array.

Project names information is retrieved from Teamcenter. Loads value from Teamcenter if not available with NX.

Created in NX1847.0.0

License requirements: None.

Returns
unsafe string [] NXOpen.PDM.PdmPart.GetRelatedDrawings ( )
inline

Get the related drawings of loaded part.

Returns part specifications of master and non-master drawings

Created in NX1899.0.0

License requirements: None.

Returns
Array of part specification names for the related drawings
unsafe string NXOpen.PDM.PdmPart.GetReleaseStatus ( )
inline

Returns release status of part.

Loads value from Teamcenter if not available with NX.

Created in NX1847.0.0

License requirements: None.

Returns
unsafe bool NXOpen.PDM.PdmPart.IsModifiable ( )
inline

Returns true if the part is modifiable.

Created in NX1847.0.0

License requirements: None.

Returns
unsafe string [] NXOpen.PDM.PdmPart.ListNonMasters ( string  nonMasterFileType)
inline

Given a part, get the names of the non-master types.

This function returns a list of all the non-master models of a particular model type that are attached to a part revision. For each possible model type, it obtains all the non-master files of a part revision. This supports following dataset types and Allowed input strings(case-sensitive):

  1. NX dataset types and Allowed Input String(case-sensitive)
  2. NX Model Type Allowed Input String(case-sensitive)
  3. SPEC_MODEL "specification"
  4. MAN_MODEL "manifestation"
  5. ALTREP_MODEL "altrep"
  6. FOREIGN_MODEL "multi-CAD"

Dataset types for "multi-CAD" should be defined in Teamcenter preference "TC_NX_Foreign_Datasets". Format for multi-CAD parts should be in be of the form multi-CAD-datasettype e.g. multi-CAD-catia

Created in NX12.0.2

License requirements: None.

Parameters
nonMasterFileType
Returns
Array of names of non-master files
unsafe NXOpen.PDM.AlternateIdManager NXOpen.PDM.PdmPart.NewAlternateIdManager ( )
inline

Create an instance of a NXOpen.PDM.AlternateIdManager class that will be used to create alternate ID information on the part.

Created in NX4.0.0

License requirements: None.

Returns
the new NXOpen.PDM.AlternateIdManager instance
unsafe NXOpen.PDM.DatabaseAttributeManager NXOpen.PDM.PdmPart.NewDatabaseAttributeManager ( )
inline

Create an instance of a NXOpen.PDM.DatabaseAttributeManager class that will be used to modify database attributes of the part.

Created in NX5.0.0

License requirements: None.

Returns
the new NXOpen.PDM.DatabaseAttributeManager instance
unsafe void NXOpen.PDM.PdmPart.PublishHdImagesForModelViews ( int  imageWidth,
int  imageHight 
)
inline

Publish high-definition images for disclosed model views in the input displayed part.

Created in NX12.0.1

License requirements: None.

Parameters
imageWidth
imageHight
unsafe void NXOpen.PDM.PdmPart.SetDefaultFolderForPart ( )
inline

Set default folder for the part in which it is to be saved

Created in NX7.5.0

License requirements: None.

unsafe void NXOpen.PDM.PdmPart.SetPreciseStructureOnSave ( NXOpen.BasePart[]  partsToSetPreciseOnSave)
inline

Given an array of parts, Parts to set precise structure on save.

Created in NX12.0.0

License requirements: None.

Parameters
partsToSetPreciseOnSaveArray of parts to set precise structure on save

Property Documentation

Tag NXOpen.PDM.PdmPart.Tag
get

Returns the tag of this object.


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