Search Results for

    Show / Hide Table of Contents

    Class ExpressionCollection

    Inheritance
    object
    MarshalByRefObject
    NXRemotableObject
    TaggedObjectCollection
    ExpressionCollection
    Implements
    IMessageSink
    IEnumerable
    Inherited Members
    TaggedObjectCollection.GetEnumerator()
    TaggedObjectCollection.initialize()
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.MemberwiseClone(bool)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NXOpen
    Assembly: NXOpen.dll
    Syntax
    public class ExpressionCollection : TaggedObjectCollection, IMessageSink, IEnumerable

    Constructors

    ExpressionCollection()

    Declaration
    protected ExpressionCollection()

    ExpressionCollection(BasePart)

    Declaration
    protected ExpressionCollection(BasePart owner)
    Parameters
    Type Name Description
    BasePart owner

    Properties

    Tag

    Declaration
    public Tag Tag { get; }
    Property Value
    Type Description
    Tag

    Methods

    AskInterpartLhsName(Expression)

    Declaration
    public string AskInterpartLhsName(Expression sourceExpression)
    Parameters
    Type Name Description
    Expression sourceExpression
    Returns
    Type Description
    string

    AskInterpartRhsName(Expression)

    Declaration
    public string AskInterpartRhsName(Expression sourceExpression)
    Parameters
    Type Name Description
    Expression sourceExpression
    Returns
    Type Description
    string

    ChangeInterpartReferences(string, string)

    Declaration
    public void ChangeInterpartReferences(string oldPartName, string newPartName)
    Parameters
    Type Name Description
    string oldPartName
    string newPartName

    ChangeInterpartReferences(string, string, bool, bool)

    Declaration
    public void ChangeInterpartReferences(string oldPartName, string newPartName, bool doUpdate, bool doChecking)
    Parameters
    Type Name Description
    string oldPartName
    string newPartName
    bool doUpdate
    bool doChecking

    ChangeInterpartReferencesFor4gd(Component, string, Component, bool, bool)

    Declaration
    public void ChangeInterpartReferencesFor4gd(Component targetPartOccTag, string oldSourcePartName, Component newSourcePartOccTag, bool doUpdate, bool doChecking)
    Parameters
    Type Name Description
    Component targetPartOccTag
    string oldSourcePartName
    Component newSourcePartOccTag
    bool doUpdate
    bool doChecking

    Create(string)

    Declaration
    public Expression Create(string expressionString)
    Parameters
    Type Name Description
    string expressionString
    Returns
    Type Description
    Expression

    CreateExpression(string, string)

    Declaration
    public Expression CreateExpression(string expressionType, string expressionString)
    Parameters
    Type Name Description
    string expressionType
    string expressionString
    Returns
    Type Description
    Expression

    CreateExpressionWithUnit(string, string, Unit)

    Declaration
    public Expression CreateExpressionWithUnit(string expressionType, string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionType
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    CreateInterpartExpressionsBuilder()

    Declaration
    public InterpartExpressionsBuilder CreateInterpartExpressionsBuilder()
    Returns
    Type Description
    InterpartExpressionsBuilder

    CreateNumberExpression(string, Unit)

    Declaration
    public Expression CreateNumberExpression(string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    CreateReplaceExpressionsBuilder()

    Declaration
    public ReplaceExpressionsBuilder CreateReplaceExpressionsBuilder()
    Returns
    Type Description
    ReplaceExpressionsBuilder

    CreateSuppressByExpressionBuilder()

    Declaration
    public SuppressByExpressionBuilder CreateSuppressByExpressionBuilder()
    Returns
    Type Description
    SuppressByExpressionBuilder

    CreateSystemExpression(string)

    Declaration
    public Expression CreateSystemExpression(string expressionString)
    Parameters
    Type Name Description
    string expressionString
    Returns
    Type Description
    Expression

    CreateSystemExpression(string, string)

    Declaration
    public Expression CreateSystemExpression(string expressionType, string expressionString)
    Parameters
    Type Name Description
    string expressionType
    string expressionString
    Returns
    Type Description
    Expression

    CreateSystemExpressionFromReferenceString(string)

    Declaration
    public Expression CreateSystemExpressionFromReferenceString(string reference)
    Parameters
    Type Name Description
    string reference
    Returns
    Type Description
    Expression

    CreateSystemExpressionWithUnit(string, string, Unit)

    Declaration
    public Expression CreateSystemExpressionWithUnit(string expressionType, string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionType
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    CreateSystemExpressionWithUnits(string, Unit)

    Declaration
    public Expression CreateSystemExpressionWithUnits(string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    CreateSystemNumberExpression(string, Unit)

    Declaration
    public Expression CreateSystemNumberExpression(string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    CreateWithUnits(string, Unit)

    Declaration
    public Expression CreateWithUnits(string expressionString, Unit unitType)
    Parameters
    Type Name Description
    string expressionString
    Unit unitType
    Returns
    Type Description
    Expression

    Delete(Expression)

    Declaration
    public void Delete(Expression expression)
    Parameters
    Type Name Description
    Expression expression

    Edit(Expression, string)

    Declaration
    public void Edit(Expression expression, string newFormula)
    Parameters
    Type Name Description
    Expression expression
    string newFormula

    EditExpression(Expression, string)

    Declaration
    public void EditExpression(Expression expression, string newFormula)
    Parameters
    Type Name Description
    Expression expression
    string newFormula

    EditExpressionWithUnits(Expression, Unit, string)

    Declaration
    public void EditExpressionWithUnits(Expression expression, Unit unitType, string newFormula)
    Parameters
    Type Name Description
    Expression expression
    Unit unitType
    string newFormula

    EditWithUnits(Expression, Unit, string)

    Declaration
    public void EditWithUnits(Expression expression, Unit unitType, string newFormula)
    Parameters
    Type Name Description
    Expression expression
    Unit unitType
    string newFormula

    EnumerateMoveNext(ref Tag, byte[])

    Declaration
    protected override int EnumerateMoveNext(ref Tag currentTag, byte[] state)
    Parameters
    Type Name Description
    Tag currentTag
    byte[] state
    Returns
    Type Description
    int
    Overrides
    TaggedObjectCollection.EnumerateMoveNext(ref Tag, byte[])

    ExportToFile(ExportMode, string, SortType)

    Declaration
    public void ExportToFile(ExpressionCollection.ExportMode exportMode, string fileName, ExpressionCollection.SortType sortType)
    Parameters
    Type Name Description
    ExpressionCollection.ExportMode exportMode
    string fileName
    ExpressionCollection.SortType sortType

    FindObject(string)

    Declaration
    public Expression FindObject(string journalIdentifier)
    Parameters
    Type Name Description
    string journalIdentifier
    Returns
    Type Description
    Expression

    GetAttributeExpression(NXObject, string, AttributeType, int)

    Declaration
    public Expression GetAttributeExpression(NXObject @object, string title, NXObject.AttributeType type, int index)
    Parameters
    Type Name Description
    NXObject object
    string title
    NXObject.AttributeType type
    int index
    Returns
    Type Description
    Expression

    GetExpressionsOfType(Type, bool)

    Declaration
    public Expression[] GetExpressionsOfType(ExpressionCollection.Type type, bool visibleOnly)
    Parameters
    Type Name Description
    ExpressionCollection.Type type
    bool visibleOnly
    Returns
    Type Description
    Expression[]

    GetInterpartReferences()

    Declaration
    public string[] GetInterpartReferences()
    Returns
    Type Description
    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
    string[] referencedPartNames
    string[] referencedDispNames
    NXObject[] referencedParts

    GetInterpartReferencesWithDisplayNames(out string[], out string[])

    Declaration
    public void GetInterpartReferencesWithDisplayNames(out string[] referencedPartNames, out string[] referencedDispNames)
    Parameters
    Type Name Description
    string[] referencedPartNames
    string[] referencedDispNames

    GetVisibleExpressions()

    Declaration
    public Expression[] GetVisibleExpressions()
    Returns
    Type Description
    Expression[]

    GetWarningsOnExpression(Expression, out string[])

    Declaration
    public int[] GetWarningsOnExpression(Expression expression, out string[] warningStrings)
    Parameters
    Type Name Description
    Expression expression
    string[] warningStrings
    Returns
    Type Description
    int[]

    ImportFromFile(string, ImportMode, out bool, out string[])

    Declaration
    public void ImportFromFile(string fileName, ExpressionCollection.ImportMode importMode, out bool expModified, out string[] errorMessages)
    Parameters
    Type Name Description
    string fileName
    ExpressionCollection.ImportMode importMode
    bool expModified
    string[] errorMessages

    RemoveInterpartReferences(string)

    Declaration
    public bool RemoveInterpartReferences(string partName)
    Parameters
    Type Name Description
    string partName
    Returns
    Type Description
    bool

    Rename(Expression, string)

    Declaration
    public void Rename(Expression expression, string newName)
    Parameters
    Type Name Description
    Expression expression
    string newName

    Replace(string, string)

    Declaration
    public void Replace(string currentName, string replaceName)
    Parameters
    Type Name Description
    string currentName
    string replaceName

    ReplaceAttributeExpression(Expression, NXObject, string, AttributeType, int)

    Declaration
    public void ReplaceAttributeExpression(Expression expression, NXObject @object, string title, NXObject.AttributeType type, int index)
    Parameters
    Type Name Description
    Expression expression
    NXObject object
    string title
    NXObject.AttributeType type
    int index

    ReplaceRhsInterpartExpression(Expression, Expression)

    Declaration
    public void ReplaceRhsInterpartExpression(Expression oldRhsIpe, Expression newRhsIpe)
    Parameters
    Type Name Description
    Expression oldRhsIpe
    Expression newRhsIpe

    SystemRename(Expression, string)

    Declaration
    public void SystemRename(Expression expression, string newName)
    Parameters
    Type Name Description
    Expression expression
    string newName

    ToArray()

    Declaration
    public Expression[] ToArray()
    Returns
    Type Description
    Expression[]

    UpdateForExternalChange()

    Declaration
    public void UpdateForExternalChange()

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    IEnumerable
    In this article
    Back to top Generated by DocFX