NXOpen .NET Reference Guide
|
Represents a collection of expressions groups. More...
Public Member Functions | |
unsafe bool | CheckName (string name) |
Returns whether or not expression group name is valid. More... | |
unsafe NXOpen.ExpressionGroup | Create (string name) |
Creates an expression group More... | |
unsafe void | Delete (NXOpen.ExpressionGroup[] expressionGroup) |
Deletes an array of one or more expression groups. More... | |
unsafe void | ExportExpressionGroupsToFile (NXOpen.ExpressionGroup[] expressionGroups, string fileName, NXOpen.ExpressionCollection.SortType sortType) |
Exports the expressions in an expression group to a text file, or, if 'file_name' is a null reference (Nothing in Visual Basic), list the expressions in the listing window. More... | |
unsafe NXOpen.ExpressionGroup | FindObject (string journalIdentifier) |
Finds the NXOpen.ExpressionGroup with the given identifier as recorded in a journal. More... | |
unsafe NXOpen.ExpressionGroup[] | GetAllExpressionGroupsInPart () |
Returns an array of all expression groups in a part . More... | |
unsafe NXOpen.ExpressionGroup | GetDefault () |
Return the default expression group More... | |
unsafe NXOpen.ExpressionGroup | GetGroupOfExpression (NXOpen.Expression expression) |
Returns expression group "owner" of an expression. More... | |
unsafe void | Rename (NXOpen.ExpressionGroup expressionGroup, string newName) |
Changes the name of the expression group. More... | |
unsafe void | SetAllGroupsVisible () |
Make all expression groups visible More... | |
NXOpen.ExpressionGroup[] | ToArray () |
Returns an array of NXOpen.ExpressionGroup objects. More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. 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 int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
unsafe NXOpen.ExpressionGroup | Active [get, set] |
Returns or sets the active expression group More... | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of expressions groups.
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX10.0.0
|
inline |
Returns whether or not expression group name is valid.
Created in NX10.0.0
License requirements: None.
name | the name of the expression group to check. |
|
inline |
Creates an expression group
Created in NX10.0.0
License requirements: None.
name | the name for the expression group. |
|
inline |
Deletes an array of one or more expression groups.
This method should be used when deleting an Expression group. DO NOT use the delete methods in Update.ja to delete expression groups
Created in NX10.0.0
License requirements: None.
expressionGroup | array of expression groups to delete |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Exports the expressions in an expression group to a text file, or, if 'file_name' is a null reference (Nothing in Visual Basic), list the expressions in the listing window.
Throws an exception if there is any error.
NOTE: if the file already exists, an exception is thrown and the file is not overwritten.
Created in NX10.0.0
License requirements: None.
expressionGroups | |
fileName | File name specification to export expressions into. |
sortType | How to sort the exported expressions |
|
inline |
Finds the NXOpen.ExpressionGroup with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Created in NX10.0.0
License requirements: None.
journalIdentifier | Identifier to be found |
|
inline |
Returns an array of all expression groups in a part .
Created in NX10.0.0
License requirements: None.
|
inline |
Return the default expression group
Created in NX10.0.0
License requirements: None.
|
inline |
Returns expression group "owner" of an expression.
Created in NX10.0.0
License requirements: None.
expression | the expression to query |
|
inline |
Changes the name of the expression group.
Created in NX11.0.0
License requirements: None.
expressionGroup | expression group to be renamed |
newName | new name of the expression group |
|
inline |
Make all expression groups visible
Created in NX10.0.0
License requirements: None.
|
inline |
Returns an array of NXOpen.ExpressionGroup objects.
|
getset |
Returns or sets the active expression group
Created in NX10.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the tag of this object.