public interface RoutingApplicationView extends Remote
Preferences.RoutingApplicationView#loadAppView
to load defaults
from the application view file.
SessionPreferences
Modifier and Type | Interface and Description |
---|---|
static class |
RoutingApplicationView.AppType
Routing application types
|
Modifier and Type | Method and Description |
---|---|
RoutingApplicationView.AppType |
applicationType()
Returns the given routing application type.
|
RoutingCharacteristics |
characteristicPreferences()
Preferences related to option/required characteristics.
|
String |
currentDiscipline()
Returns the current discipline.
|
String |
currentSpecification()
Returns the current specification for the current discipline.
|
String |
description()
Returns the application view description.
|
String |
filename()
Returns the filename of the current application view.
|
String[] |
getDisciplines()
Returns all of the disciplines available in the current application view.
|
CharacteristicList.CharacteristicInformation[] |
getFabricationCharacteristics()
Returns fabrication characteristics.
|
CharacteristicList.CharacteristicInformation[] |
getOptionalCharacteristics()
Returns the intersection of the optional stock characteristics and optional
part characteristics for the current discipline of the application view.
|
CharacteristicList.CharacteristicInformation[] |
getRequiredCharacteristics()
Returns the intersection of the required stock characteristics and required
part characteristics for the current discipline of the application view.
|
String[] |
getSpecifications()
Returns the specifications available in the current discipline.
|
void |
loadAppView(String fileName)
Loads the preferences from an application view file.
|
String |
name()
Returns the application view name.
|
RoutingPart |
partPreferences()
Routing preferences related to parts.
|
RoutingElectrical |
routingElectrical()
Routing electrical preferences structure .
|
RoutingLogical |
routingLogical()
Routing logical preferences .
|
RoutingMechanical |
routingMechanical()
Routing mechanical preferences .
|
RoutingPath |
routingPath()
Path preferences structure .
|
RoutingStock |
routingStock()
Stock preferences structure .
|
void |
setApplicationType(RoutingApplicationView.AppType appType)
Sets the given routing application type.
|
void |
setCurrentDiscipline(String discipline)
Sets the current discipline.
|
void |
setCurrentSpecification(String currentSpec)
Sets the current specification for the current discipline.
|
RoutingPart partPreferences() throws RemoteException
RemoteException
RoutingCharacteristics characteristicPreferences() throws RemoteException
RemoteException
RoutingStock routingStock() throws RemoteException
RemoteException
RoutingPath routingPath() throws RemoteException
RemoteException
RoutingMechanical routingMechanical() throws RemoteException
RemoteException
RoutingLogical routingLogical() throws RemoteException
RemoteException
RoutingElectrical routingElectrical() throws RemoteException
RemoteException
void loadAppView(String fileName) throws NXException, RemoteException
Preferences.RoutingApplicationView#loadAppView
the current defaults
are defaults initially read from the mechanical application view.
Session.GetSession().Preferences.RoutingApplicationView.LoadAppView ( "ugroute_mech_in.xml" ); Session.GetSession().Preferences.RoutingApplicationView.LoadAppView ( "ugroute_elec_in.xml" ); Session.GetSession().Preferences.RoutingApplicationView.LoadAppView ( "ugroute_mech_in.xml" );
fileName
- filename of application view. NXException
RemoteException
String filename() throws NXException, RemoteException
NXException
RemoteException
String name() throws NXException, RemoteException
NXException
RemoteException
String description() throws NXException, RemoteException
NXException
RemoteException
String currentDiscipline() throws NXException, RemoteException
NXException
RemoteException
void setCurrentDiscipline(String discipline) throws NXException, RemoteException
discipline
- NXException
RemoteException
String[] getDisciplines() throws NXException, RemoteException
NXException
RemoteException
String currentSpecification() throws NXException, RemoteException
NXException
RemoteException
void setCurrentSpecification(String currentSpec) throws NXException, RemoteException
currentSpec
- NXException
RemoteException
String[] getSpecifications() throws NXException, RemoteException
NXException
RemoteException
void setApplicationType(RoutingApplicationView.AppType appType) throws NXException, RemoteException
Preferences.RoutingApplicationView.AppType#NONE
before exiting from the routing applications.
appType
- NXException
RemoteException
RoutingApplicationView.AppType applicationType() throws NXException, RemoteException
Preferences.RoutingApplicationView.AppType#NONE
before exiting from the routing applications.
NXException
RemoteException
CharacteristicList.CharacteristicInformation[] getRequiredCharacteristics() throws NXException, RemoteException
NXException
RemoteException
CharacteristicList.CharacteristicInformation[] getOptionalCharacteristics() throws NXException, RemoteException
NXException
RemoteException
CharacteristicList.CharacteristicInformation[] getFabricationCharacteristics() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.