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

Builder which manages refreshing the runs from Teamcenter More...

Inheritance diagram for NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  BlockedReasonType { NotBlocked, LoadedInPid, OtherRunsBlocked, NotSpecified }
 Defines the reason why the run refresh was blocked. More...
 
enum  RefreshStatusType {
  Unknown, UpToDate, Refreshed, Blocked,
  Deleted, Failed
}
 Defines the refresh status. More...
 

Public Member Functions

unsafe
NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.BlockedReasonType 
GetBlockedReasonForRun (string runId)
 The blocked reason getter More...
 
unsafe
NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.RefreshStatusType 
GetRefreshStatusForRun (string runId)
 The refresh status getter More...
 
unsafe int GetTimestampOfRefreshedRun (string runId)
 The timestamp of the refreshed run getter More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. 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...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 

Detailed Description

Builder which manages refreshing the runs from Teamcenter

To create a new instance of this class, use NXOpen.MechanicalRouting.BuilderFactory.CreateRefreshRunsFromTeamcenterBuilder

Created in NX1847.0.0

Member Enumeration Documentation

Defines the reason why the run refresh was blocked.

Not blocked, loaded in PID application, not specified

Enumerator
NotBlocked 

Blocked reason is that it's not blocked

LoadedInPid 

Blocked reason is that the PID run is currently loaded in the PID application

OtherRunsBlocked 

Blocked reason is that one or more runs were blocked

NotSpecified 

Blocked reason is not specified

Defines the refresh status.

Unknown, up-to-date, refreshed, blocked, failed

Enumerator
Unknown 

The run is an unknown state

UpToDate 

The run is up-to-date

Refreshed 

The run was refreshed to a new version

Blocked 

The refresh of the run was blocked

Deleted 

The refresh of the run did not happen because the run was deleted in Teamcetner

Failed 

The refresh of the run failed

Member Function Documentation

unsafe NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.BlockedReasonType NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.GetBlockedReasonForRun ( string  runId)
inline

The blocked reason getter

Created in NX1847.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
runIdThe run to get the blocked reason for
Returns
The blocked reason for the run
unsafe NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.RefreshStatusType NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.GetRefreshStatusForRun ( string  runId)
inline

The refresh status getter

Created in NX1847.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
runIdThe run to get the status for
Returns
The refresh status for the run
unsafe int NXOpen.MechanicalRouting.RefreshRunsFromTeamcenterBuilder.GetTimestampOfRefreshedRun ( string  runId)
inline

The timestamp of the refreshed run getter

Created in NX1847.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
runIdThe run to get the timestamp of the refreshed run for
Returns
The timestamp of the refreshed run

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