NXOpen .NET Reference Guide
|
Records changes to option values at the specified level. More...
Public Member Functions | |
unsafe void | Load () |
Load the drafting standard defaults at the current level. More... | |
unsafe void | LockValue (string name) |
Lock option value. More... | |
unsafe void | Save () |
Saves the drafting standard defaults at the current level. More... | |
unsafe void | SetUserComment (string name, string comment) |
Sets the user comment. More... | |
unsafe void | SetUtf8Value (string name, string value) |
Sets the value of a Options.OptionType.Utf8string option. More... | |
unsafe void | SetValue (string name, int value) |
Sets the value of an Options.OptionType.Int option. More... | |
unsafe void | SetValue (string name, double value) |
Sets the value of a Options.OptionType.Real option. More... | |
unsafe void | SetValue (string name, string value) |
Sets the value of a Options.OptionType.String option. More... | |
unsafe void | SetValue (string name, string[] value) |
Sets the value of a Options.OptionType.StringList option. More... | |
unsafe void | SetValue (string name, bool value) |
Sets the value of a Options.OptionType.Logical option. More... | |
unsafe void | SetValueOrder (string name, string[] value) |
Sets the value of a Options.OptionType.ReorderSelList option for which the list entries can be reordered. More... | |
unsafe void | SetValueSelection (string name, bool[] selection, string[] value) |
Sets the value of a Options.OptionType.ReorderSelList option for which the list entries can be reordered as well as selected. More... | |
unsafe void | UnlockValue (string name) |
Unlock option value. More... | |
Public Member Functions inherited from NXOpen.TransientObject | |
void | Dispose () |
Frees the object from memory. More... | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
new 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... | |
Protected Member Functions | |
override void | FreeResource () |
Dispose the changes More... | |
Properties | |
unsafe NXOpen.Options.LevelType | CurrentLevel [get] |
Returns the current level of options More... | |
Properties inherited from NXOpen.TransientObject | |
IntPtr | Handle [get] |
Handle of the internal object represented by this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Records changes to option values at the specified level.
A DraftingStandardChangeList is created with a given level, and all of the edit operations apply to that level for drafting standard defaults. Each method for setting a value throws an error if the option value is locked at a higher level, or the specified value is not valid.
All methods in this class use an option name as a unique identifier for accessing individual options and throw an error if an option with the given name is not found. All existing option names and their allowed values are described in the Online Documentation.
Use Options.OptionsManager.NewOptionsDraftingStandardChangeList to create a new instance of this class
Created in NX5.0.0
|
inlineprotectedvirtual |
Dispose the changes
Created in NX5.0.0
License requirements: None.
Implements NXOpen.TransientObject.
|
inline |
Load the drafting standard defaults at the current level.
Created in NX5.0.0
License requirements: None.
|
inline |
Lock option value.
Created in NX5.0.0
License requirements: None.
name | Option name |
|
inline |
Saves the drafting standard defaults at the current level.
Created in NX5.0.0
License requirements: None.
|
inline |
Sets the user comment.
Throws an error if the value does not exist at this level.
Created in NX5.0.0
License requirements: None.
name | Option name. |
comment | User comment text. |
|
inline |
Sets the value of a Options.OptionType.Utf8string option.
Throws an error if the option type is not Options.OptionType.Utf8string .
Created in NX6.0.0
License requirements: None.
name | Option name. |
value | Option value |
|
inline |
Sets the value of an Options.OptionType.Int option.
If the option is of type Options.OptionType.Real then the value parameter is converted to double. Throws an error if the option type is not Options.OptionType.Int or Options.OptionType.Real .
Created in NX5.0.0
License requirements: None.
name | Option name. |
value | Option value. |
|
inline |
Sets the value of a Options.OptionType.Real option.
Throws an error if the option type is not Options.OptionType.Real .
Created in NX5.0.0
License requirements: None.
name | Option name. |
value | Option value. |
|
inline |
Sets the value of a Options.OptionType.String option.
Throws an error if the option type is not Options.OptionType.String .
Created in NX5.0.0
License requirements: None.
name | Option name. |
value | Option value |
|
inline |
Sets the value of a Options.OptionType.StringList option.
Throws an error if the option type is not Options.OptionType.StringList .
Created in NX5.0.0
License requirements: None.
name | Option name. |
value |
|
inline |
Sets the value of a Options.OptionType.Logical option.
Throws an error if the option type is not Options.OptionType.Logical .
Created in NX5.0.0
License requirements: None.
name | Option name. |
value | Option value |
|
inline |
Sets the value of a Options.OptionType.ReorderSelList option for which the list entries can be reordered.
Throws an error if the option type is not Options.OptionType.ReorderSelList .
Created in NX7.5.0
License requirements: None.
name | Option name. |
value |
|
inline |
Sets the value of a Options.OptionType.ReorderSelList option for which the list entries can be reordered as well as selected.
Throws an error if the option type is not Options.OptionType.ReorderSelList .
Created in NX7.5.0
License requirements: None.
name | Option name. |
selection | the selection bit |
value |
|
inline |
Unlock option value.
Created in NX5.0.0
License requirements: None.
name | Option name |
|
get |
Returns the current level of options
Created in NX5.0.0
License requirements: None.