Class ExpressionCollection
Inheritance
System.Object
System.MarshalByRefObject
ExpressionCollection
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.Collections.IEnumerable
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpen.dll
Syntax
public class ExpressionCollection : TaggedObjectCollection, IMessageSink, IEnumerable
Constructors
ExpressionCollection()
Declaration
protected ExpressionCollection()
ExpressionCollection(BasePart)
Declaration
protected ExpressionCollection(BasePart owner)
Parameters
Properties
Tag
Declaration
Property Value
Methods
AskInterpartLhsName(Expression)
Declaration
public string AskInterpartLhsName(Expression sourceExpression)
Parameters
Returns
Type |
Description |
System.String |
|
AskInterpartRhsName(Expression)
Declaration
public string AskInterpartRhsName(Expression sourceExpression)
Parameters
Returns
Type |
Description |
System.String |
|
ChangeInterpartReferences(String, String)
Declaration
public void ChangeInterpartReferences(string oldPartName, string newPartName)
Parameters
Type |
Name |
Description |
System.String |
oldPartName |
|
System.String |
newPartName |
|
ChangeInterpartReferences(String, String, Boolean, Boolean)
Declaration
public void ChangeInterpartReferences(string oldPartName, string newPartName, bool doUpdate, bool doChecking)
Parameters
Type |
Name |
Description |
System.String |
oldPartName |
|
System.String |
newPartName |
|
System.Boolean |
doUpdate |
|
System.Boolean |
doChecking |
|
ChangeInterpartReferencesFor4gd(Component, String, Component, Boolean, Boolean)
Declaration
public void ChangeInterpartReferencesFor4gd(Component targetPartOccTag, string oldSourcePartName, Component newSourcePartOccTag, bool doUpdate, bool doChecking)
Parameters
Type |
Name |
Description |
Component |
targetPartOccTag |
|
System.String |
oldSourcePartName |
|
Component |
newSourcePartOccTag |
|
System.Boolean |
doUpdate |
|
System.Boolean |
doChecking |
|
Create(String)
Declaration
public Expression Create(string string)
Parameters
Type |
Name |
Description |
System.String |
string |
|
Returns
CreateExpression(String, String)
Declaration
public Expression CreateExpression(string expressionType, string string)
Parameters
Type |
Name |
Description |
System.String |
expressionType |
|
System.String |
string |
|
Returns
CreateInterpartExpressionsBuilder()
Declaration
public InterpartExpressionsBuilder CreateInterpartExpressionsBuilder()
Returns
CreateReplaceExpressionsBuilder()
Declaration
public ReplaceExpressionsBuilder CreateReplaceExpressionsBuilder()
Returns
CreateSuppressByExpressionBuilder()
Declaration
public SuppressByExpressionBuilder CreateSuppressByExpressionBuilder()
Returns
CreateSystemExpression(String)
Declaration
public Expression CreateSystemExpression(string string)
Parameters
Type |
Name |
Description |
System.String |
string |
|
Returns
CreateSystemExpression(String, String)
Declaration
public Expression CreateSystemExpression(string expressionType, string string)
Parameters
Type |
Name |
Description |
System.String |
expressionType |
|
System.String |
string |
|
Returns
CreateSystemExpressionFromReferenceString(String)
Declaration
public Expression CreateSystemExpressionFromReferenceString(string reference)
Parameters
Type |
Name |
Description |
System.String |
reference |
|
Returns
CreateSystemExpressionWithUnits(String, Unit)
Declaration
public Expression CreateSystemExpressionWithUnits(string string, Unit unitType)
Parameters
Type |
Name |
Description |
System.String |
string |
|
Unit |
unitType |
|
Returns
CreateWithUnits(String, Unit)
Declaration
public Expression CreateWithUnits(string string, Unit unitType)
Parameters
Type |
Name |
Description |
System.String |
string |
|
Unit |
unitType |
|
Returns
Delete(Expression)
Declaration
public void Delete(Expression expression)
Parameters
Edit(Expression, String)
Declaration
public void Edit(Expression expression, string newRightHandSide)
Parameters
Type |
Name |
Description |
Expression |
expression |
|
System.String |
newRightHandSide |
|
EditWithUnits(Expression, Unit, String)
Declaration
public void EditWithUnits(Expression expression, Unit unitType, string newRightHandSide)
Parameters
Type |
Name |
Description |
Expression |
expression |
|
Unit |
unitType |
|
System.String |
newRightHandSide |
|
EnumerateMoveNext(ref Tag, Byte[])
Declaration
protected override int EnumerateMoveNext(ref Tag currentTag, byte[] state)
Parameters
Type |
Name |
Description |
Tag |
currentTag |
|
System.Byte[] |
state |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
ExportToFile(ExpressionCollection.ExportMode, String, ExpressionCollection.SortType)
Declaration
public void ExportToFile(ExpressionCollection.ExportMode exportMode, string fileName, ExpressionCollection.SortType sortType)
Parameters
FindObject(String)
Declaration
public Expression FindObject(string journalIdentifier)
Parameters
Type |
Name |
Description |
System.String |
journalIdentifier |
|
Returns
GetAttributeExpression(NXObject, String, NXObject.AttributeType, Int32)
Declaration
public Expression GetAttributeExpression(NXObject object, string title, NXObject.AttributeType type, int index)
Parameters
Returns
GetInterpartReferences()
Declaration
public string[] GetInterpartReferences()
Returns
Type |
Description |
System.String[] |
|
GetInterpartReferencesFor4gd(out String[], out String[], out NXObject[])
Declaration
public void GetInterpartReferencesFor4gd(out string[] referencedPartNames, out string[] referencedDispNames, out NXObject[] referencedParts)
Parameters
Type |
Name |
Description |
System.String[] |
referencedPartNames |
|
System.String[] |
referencedDispNames |
|
NXObject[] |
referencedParts |
|
GetInterpartReferencesWithDisplayNames(out String[], out String[])
Declaration
public void GetInterpartReferencesWithDisplayNames(out string[] referencedPartNames, out string[] referencedDispNames)
Parameters
Type |
Name |
Description |
System.String[] |
referencedPartNames |
|
System.String[] |
referencedDispNames |
|
GetVisibleExpressions()
Declaration
public Expression[] GetVisibleExpressions()
Returns
ImportFromFile(String, ExpressionCollection.ImportMode, out Boolean, out String[])
Declaration
public void ImportFromFile(string fileName, ExpressionCollection.ImportMode importMode, out bool expModified, out string[] errorMessages)
Parameters
RemoveInterpartReferences(String)
Declaration
public bool RemoveInterpartReferences(string partName)
Parameters
Type |
Name |
Description |
System.String |
partName |
|
Returns
Type |
Description |
System.Boolean |
|
Rename(Expression, String)
Declaration
public void Rename(Expression expression, string newName)
Parameters
Type |
Name |
Description |
Expression |
expression |
|
System.String |
newName |
|
Replace(String, String)
Declaration
public void Replace(string currentName, string replaceName)
Parameters
Type |
Name |
Description |
System.String |
currentName |
|
System.String |
replaceName |
|
ReplaceAttributeExpression(Expression, NXObject, String, NXObject.AttributeType, Int32)
Declaration
public void ReplaceAttributeExpression(Expression expression, NXObject object, string title, NXObject.AttributeType type, int index)
Parameters
ReplaceRhsInterpartExpression(Expression, Expression)
Declaration
public void ReplaceRhsInterpartExpression(Expression oldRhsIpe, Expression newRhsIpe)
Parameters
SystemRename(Expression, String)
Declaration
public void SystemRename(Expression expression, string newName)
Parameters
Type |
Name |
Description |
Expression |
expression |
|
System.String |
newName |
|
ToArray()
Declaration
public Expression[] ToArray()
Returns
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.Collections.IEnumerable