public interface DraftingStandardChangeList extends TransientObject
Options.OptionsManager#newOptionsDraftingStandardChangeList
to create a new instance of this class Modifier and Type | Method and Description |
---|---|
LevelType |
currentLevel()
Returns the current level of options
License requirements: None. |
void |
load()
Load the drafting standard defaults at the current level.
|
void |
lockValue(String name)
Lock option value.
|
void |
save()
Saves the drafting standard defaults at the current level.
|
void |
setUserComment(String name,
String comment)
Sets the user comment.
|
void |
setUtf8Value(String name,
String value)
Sets the value of a
Options.OptionType#UTF8STRING option. |
void |
setValue(String name,
boolean value)
Sets the value of a
Options.OptionType#LOGICAL option. |
void |
setValue(String name,
double value)
Sets the value of a
Options.OptionType#REAL option. |
void |
setValue(String name,
int value)
Sets the value of an
Options.OptionType#INT option. |
void |
setValue(String name,
String value)
Sets the value of a
Options.OptionType#STRING option. |
void |
setValue(String name,
String[] value)
Sets the value of a
Options.OptionType#STRING_LIST option. |
void |
setValueOrder(String name,
String[] value)
Sets the value of a
Options.OptionType#REORDER_SEL_LIST option for which the list entries can be reordered. |
void |
setValueSelection(String name,
boolean[] selection,
String[] value)
Sets the value of a
Options.OptionType#REORDER_SEL_LIST option for which the list entries can be reordered as well as selected. |
void |
unlockValue(String name)
Unlock option value.
|
_value, dispose, printTestData, printTestData
LevelType currentLevel() throws NXException, RemoteException
NXException
RemoteException
void setValue(String name, int value) throws NXException, RemoteException
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
.
name
- Option name. value
- Option value.NXException
RemoteException
void setValue(String name, double value) throws NXException, RemoteException
Options.OptionType#REAL
option.
Throws an error if the option type is not Options.OptionType#REAL
.
name
- Option name. value
- Option value.NXException
RemoteException
void setValue(String name, String value) throws NXException, RemoteException
Options.OptionType#STRING
option.
Throws an error if the option type is not Options.OptionType#STRING
.
name
- Option name. value
- Option value NXException
RemoteException
void setUtf8Value(String name, String value) throws NXException, RemoteException
Options.OptionType#UTF8STRING
option.
Throws an error if the option type is not Options.OptionType#UTF8STRING
.
name
- Option name. value
- Option valueNXException
RemoteException
void setValue(String name, String[] value) throws NXException, RemoteException
Options.OptionType#STRING_LIST
option.
Throws an error if the option type is not Options.OptionType#STRING_LIST
.
name
- Option name. value
- NXException
RemoteException
void setValueOrder(String name, String[] value) throws NXException, RemoteException
Options.OptionType#REORDER_SEL_LIST
option for which the list entries can be reordered.
Throws an error if the option type is not Options.OptionType#REORDER_SEL_LIST
.
name
- Option name. value
- NXException
RemoteException
void setValueSelection(String name, boolean[] selection, String[] value) throws NXException, RemoteException
Options.OptionType#REORDER_SEL_LIST
option for which the list entries can be reordered as well as selected.
Throws an error if the option type is not Options.OptionType#REORDER_SEL_LIST
.
name
- Option name. selection
- the selection bitvalue
- NXException
RemoteException
void setValue(String name, boolean value) throws NXException, RemoteException
Options.OptionType#LOGICAL
option.
Throws an error if the option type is not Options.OptionType#LOGICAL
.
name
- Option name. value
- Option valueNXException
RemoteException
void setUserComment(String name, String comment) throws NXException, RemoteException
name
- Option name. comment
- User comment text.NXException
RemoteException
void lockValue(String name) throws NXException, RemoteException
name
- Option name NXException
RemoteException
void unlockValue(String name) throws NXException, RemoteException
name
- Option name NXException
RemoteException
void save() throws NXException, RemoteException
NXException
RemoteException
void load() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.