NXOpen .NET Reference
12.0.0
|
The RoutingApplicationView class contains all of the various preferences and options available from the Routing Application View file. More...
Public Types | |
enum | AppType { None, Mechanical, Electrical, Logical } |
Routing application types More... | |
Public Member Functions | |
unsafe void | LoadAppView (string fileName) |
Loads the preferences from an application view file. More... | |
unsafe string[] | GetDisciplines () |
Returns all of the disciplines available in the current application view. More... | |
unsafe string[] | GetSpecifications () |
Returns the specifications available in the current discipline. More... | |
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation[] | GetRequiredCharacteristics () |
Returns the intersection of the required stock characteristics and required part characteristics for the current discipline of the application view. More... | |
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation[] | GetOptionalCharacteristics () |
Returns the intersection of the optional stock characteristics and optional part characteristics for the current discipline of the application view. More... | |
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation[] | GetFabricationCharacteristics () |
Returns fabrication characteristics. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
NXOpen.Preferences.RoutingPart | PartPreferences [get] |
Routing preferences related to parts. More... | |
NXOpen.Preferences.RoutingCharacteristics | CharacteristicPreferences [get] |
Preferences related to option/required characteristics. More... | |
NXOpen.Preferences.RoutingStock | RoutingStock [get] |
Stock preferences structure More... | |
NXOpen.Preferences.RoutingPath | RoutingPath [get] |
Path preferences structure More... | |
NXOpen.Preferences.RoutingMechanical | RoutingMechanical [get] |
Routing mechanical preferences More... | |
NXOpen.Preferences.RoutingLogical | RoutingLogical [get] |
Routing logical preferences More... | |
NXOpen.Preferences.RoutingElectrical | RoutingElectrical [get] |
Routing electrical preferences structure More... | |
NXOpen.Preferences.RoutingUserPreferences | RoutingUserPreferences [get] |
Routing user preferences More... | |
unsafe NXOpen.Preferences.RoutingApplicationView.AppType | ApplicationType [get, set] |
Returns or sets the given routing application type. More... | |
unsafe string | CurrentDiscipline [get, set] |
Returns or sets the current discipline. More... | |
unsafe string | CurrentSpecification [get, set] |
Returns or sets the current specification for the current discipline. More... | |
unsafe string | Description [get] |
Returns the application view description. More... | |
unsafe string | Filename [get] |
Returns the filename of the current application view. More... | |
unsafe string | Name [get] |
Returns the application view name. More... | |
The RoutingApplicationView class contains all of the various preferences and options available from the Routing Application View file.
In order to call any of the methods of this class (or it's contained objects), first call Preferences.RoutingApplicationView.LoadAppView to load defaults from the application view file.
To obtain an instance of this class, refer to NXOpen.Preferences.SessionPreferences
Created in NX4.0.0
unsafe string [] NXOpen.Preferences.RoutingApplicationView.GetDisciplines | ( | ) |
Returns all of the disciplines available in the current application view.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation [] NXOpen.Preferences.RoutingApplicationView.GetFabricationCharacteristics | ( | ) |
Returns fabrication characteristics.
These characteristics must be set for any fabrication created out of a Routing assembly.
Created in NX9.0.0
License requirements: routing_base ("Routing Basic")
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation [] NXOpen.Preferences.RoutingApplicationView.GetOptionalCharacteristics | ( | ) |
Returns the intersection of the optional stock characteristics and optional part characteristics for the current discipline of the application view.
Created in NX9.0.0
License requirements: routing_base ("Routing Basic")
unsafe NXOpen.Routing.CharacteristicList.CharacteristicInformation [] NXOpen.Preferences.RoutingApplicationView.GetRequiredCharacteristics | ( | ) |
Returns the intersection of the required stock characteristics and required part characteristics for the current discipline of the application view.
Created in NX9.0.0
License requirements: routing_base ("Routing Basic")
unsafe string [] NXOpen.Preferences.RoutingApplicationView.GetSpecifications | ( | ) |
Returns the specifications available in the current discipline.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
unsafe void NXOpen.Preferences.RoutingApplicationView.LoadAppView | ( | string | fileName | ) |
Loads the preferences from an application view file.
This file may be either a legacy application view file (with a .apv extension) or a new XML style application view file (with a .xml extension). See the Routing Administrator documentation for the format of these files. Once an application view file is loaded, it cannot be unloaded. After loading the file the first time in a session, subsequent loads do not pick up changes made to the application view file, but it does set the preferences to the cached values loaded from that file. Here is some example code, after the second call to Preferences.RoutingApplicationView.LoadAppView the current defaults are defaults initially read from the mechanical application view.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
fileName | filename of application view. |
|
getset |
Returns or sets the given routing application type.
This is only used in the context of routing to execute design rules. Application type should be set toPreferences.RoutingApplicationView.AppType.None before exiting from the routing applications.
Created in NX5.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
get |
Preferences related to option/required characteristics.
Created in NX3.0.0
|
getset |
Returns or sets the current discipline.
A discipline value of "" (the empty string) indicates no current discipline.
Created in NX4.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
getset |
Returns or sets the current specification for the current discipline.
A specification value of "" (the empty string) indicates no current specification.
Created in NX4.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
get |
Returns the application view description.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
|
get |
Returns the filename of the current application view.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
|
get |
Returns the application view name.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
|
get |
Routing preferences related to parts.
Created in NX3.0.0
|
get |
Routing electrical preferences structure
Created in NX3.0.0
|
get |
Routing logical preferences
Created in NX3.0.0
|
get |
Routing mechanical preferences
Created in NX3.0.0
|
get |
Path preferences structure
Created in NX3.0.0
|
get |
Stock preferences structure
Created in NX3.0.0
|
get |
Routing user preferences
Created in NX11.0.1
|
get |
Returns the tag of this object.