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

Represents a NXOpen.Routing.StockDataRefreshBuilder Builder for updating/reloading routing stock data definitions. More...

Inheritance diagram for NXOpen.Routing.StockDataRefreshBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  RefreshStatus {
  Ok, StockDataTagInvalid, StockDataMissingSearchAttributes, StockPartNotFoundInReuseLibrary,
  MultipleStocksFoundInReuseLibrary, StockPartNotRequired, StockPartNotFoundForLoading, CannotFullyLoadStockPart,
  StockDataNotFoundInLoadedPart, StockConversionError, ErrorRefreshUndone
}
 The stock data refresh status More...
 

Public Member Functions

unsafe
NXOpen.Routing.StockDataRefreshBuilder.RefreshStatus 
RefreshStockData (NXOpen.Routing.StockData stockData)
 Update the Stock Data Definition Requires an update to be applied after call. 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...
 

Properties

unsafe
NXOpen.Routing.StockDataRefreshBuilder.RefreshStatus 
Status [get]
 Returns More...
 
unsafe NXOpen.Routing.StockData StockData [get, set]
 Returns or sets More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
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.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.Routing.StockDataRefreshBuilder Builder for updating/reloading routing stock data definitions.

To create a new instance of this class, use NXOpen.Routing.RouteManager.CreateStockDataRefreshBuilder

Created in NX12.0.0

Member Enumeration Documentation

The stock data refresh status

Enumerator
Ok 

Refresh successful

StockDataTagInvalid 

NULL stock definition encountered

StockDataMissingSearchAttributes 

No attributes used for searching library found

StockPartNotFoundInReuseLibrary 

Cannot find stock under the stock or overstock root nodes in the Reuse Library

MultipleStocksFoundInReuseLibrary 

More than one stock found - cannot resolve ambiguity

StockPartNotRequired 

Stock part name not found indicating there is no stock part

StockPartNotFoundForLoading 

Problem loading the stock part

CannotFullyLoadStockPart 

Unable to fully load the stock part

StockDataNotFoundInLoadedPart 

Unable to find a stock definition in the loaded stock part

StockConversionError 

Error converting units of loaded stock part to that of stock definition being refreshed

ErrorRefreshUndone 

Error encountered after partial update of stock definition; UNDO was performed to return to original state

Member Function Documentation

unsafe NXOpen.Routing.StockDataRefreshBuilder.RefreshStatus NXOpen.Routing.StockDataRefreshBuilder.RefreshStockData ( NXOpen.Routing.StockData  stockData)
inline

Update the Stock Data Definition Requires an update to be applied after call.

Created in NX12.0.0

License requirements: routing_base ("Routing Basic")

Parameters
stockData
Returns

Property Documentation

unsafe NXOpen.Routing.StockDataRefreshBuilder.RefreshStatus NXOpen.Routing.StockDataRefreshBuilder.Status
get

Returns

Created in NX12.0.0

License requirements: routing_base ("Routing Basic")

unsafe NXOpen.Routing.StockData NXOpen.Routing.StockDataRefreshBuilder.StockData
getset

Returns or sets

Created in NX12.0.0

License requirements to get this property: routing_base ("Routing Basic")

License requirements to set this property: routing_base ("Routing Basic")


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