SessionPdm Class¶
-
class
NXOpen.Preferences.
SessionPdm
¶ Bases:
object
Represents the NX Manager preferences for the entire session
To obtain an instance of this class, refer to
NXOpen.Preferences.SessionPreferences
New in version NX4.0.1.
Properties¶
Property | Description |
---|---|
JtUpdateFromSource | Returns or sets the kind of JT update performed when a part is loaded |
MessagesInconsistentRevisions | Returns or sets the kind of messages about inconsistent revisions when a part is loaded |
SynchroniseOnLoad | Returns or sets the kind of synchronisation performed when a part is loaded |
SynchroniseOnSave | Returns or sets the kind of synchronisation performed when a part is saved |
UnpopulatedBehaviour | Returns or sets the behaviour when an unpopulated part is loaded |
Methods¶
Enumerations¶
SessionPdmJtUpdateFromSourceType Enumeration | Options for the kind of JT update performed when a part is loaded |
SessionPdmMessagesInconsistentRevisionsType Enumeration | Options for the kind of messages about inconsistent revisions when a part is loaded |
SessionPdmSynchroniseOnLoadType Enumeration | Options for the kind of synchronisation with the PDM system performed when a part is loaded. |
SessionPdmSynchroniseOnSaveType Enumeration | Options for the kind of synchronisation with the PDM system performed when a part is saved. |
SessionPdmUnpopulatedBehaviourType Enumeration | Options for when to add NX datasets upon loading an unpopulated part in the PDM system |
Property Detail¶
JtUpdateFromSource¶
-
SessionPdm.
JtUpdateFromSource
¶ Returns or sets the kind of JT update performed when a part is loaded
-------------------------------------
Getter Method
Signature
JtUpdateFromSource()
Returns: Return type: NXOpen.Preferences.SessionPdmJtUpdateFromSourceType
New in version NX6.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
JtUpdateFromSource(update)
Parameters: update ( NXOpen.Preferences.SessionPdmJtUpdateFromSourceType
) –New in version NX6.0.2.
License requirements: None.
MessagesInconsistentRevisions¶
-
SessionPdm.
MessagesInconsistentRevisions
¶ Returns or sets the kind of messages about inconsistent revisions when a part is loaded
-------------------------------------
Getter Method
Signature
MessagesInconsistentRevisions()
Returns: Return type: NXOpen.Preferences.SessionPdmMessagesInconsistentRevisionsType
New in version NX6.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
MessagesInconsistentRevisions(message)
Parameters: message ( NXOpen.Preferences.SessionPdmMessagesInconsistentRevisionsType
) –New in version NX6.0.2.
License requirements: None.
SynchroniseOnLoad¶
-
SessionPdm.
SynchroniseOnLoad
¶ Returns or sets the kind of synchronisation performed when a part is loaded
-------------------------------------
Getter Method
Signature
SynchroniseOnLoad()
Returns: Return type: NXOpen.Preferences.SessionPdmSynchroniseOnLoadType
New in version NX4.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
SynchroniseOnLoad(sync)
Parameters: sync ( NXOpen.Preferences.SessionPdmSynchroniseOnLoadType
) –New in version NX4.0.1.
License requirements: None.
SynchroniseOnSave¶
-
SessionPdm.
SynchroniseOnSave
¶ Returns or sets the kind of synchronisation performed when a part is saved
-------------------------------------
Getter Method
Signature
SynchroniseOnSave()
Returns: Return type: NXOpen.Preferences.SessionPdmSynchroniseOnSaveType
New in version NX4.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
SynchroniseOnSave(sync)
Parameters: sync ( NXOpen.Preferences.SessionPdmSynchroniseOnSaveType
) –New in version NX4.0.1.
License requirements: None.
UnpopulatedBehaviour¶
-
SessionPdm.
UnpopulatedBehaviour
¶ Returns or sets the behaviour when an unpopulated part is loaded
-------------------------------------
Getter Method
Signature
UnpopulatedBehaviour()
Returns: Return type: NXOpen.Preferences.SessionPdmUnpopulatedBehaviourType
New in version NX4.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
UnpopulatedBehaviour(behaviour)
Parameters: behaviour ( NXOpen.Preferences.SessionPdmUnpopulatedBehaviourType
) –New in version NX4.0.1.
License requirements: None.