Search Results for

    Show / Hide Table of Contents

    Class ExpressionCollection

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    TaggedObjectCollection
    ExpressionCollection
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    System.Collections.IEnumerable
    Inherited Members
    TaggedObjectCollection.GetEnumerator()
    TaggedObjectCollection.initialize()
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    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)
    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
    System.String

    AskInterpartRhsName(Expression)

    Declaration
    public string AskInterpartRhsName(Expression sourceExpression)
    Parameters
    Type Name Description
    Expression sourceExpression
    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 expressionString)
    Parameters
    Type Name Description
    System.String expressionString
    Returns
    Type Description
    Expression

    CreateExpression(String, String)

    Declaration
    public Expression CreateExpression(string expressionType, string expressionString)
    Parameters
    Type Name Description
    System.String expressionType
    System.String expressionString
    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
    System.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
    System.String expressionString
    Returns
    Type Description
    Expression

    CreateSystemExpression(String, String)

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

    CreateSystemExpressionFromReferenceString(String)

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

    CreateSystemExpressionWithUnits(String, Unit)

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

    CreateSystemNumberExpression(String, Unit)

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

    CreateWithUnits(String, Unit)

    Declaration
    public Expression CreateWithUnits(string expressionString, Unit unitType)
    Parameters
    Type Name Description
    System.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
    System.String newFormula

    EditExpression(Expression, String)

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

    EditExpressionWithUnits(Expression, Unit, String)

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

    EditWithUnits(Expression, Unit, String)

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

    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
    TaggedObjectCollection.EnumerateMoveNext(ref Tag, Byte[])

    ExportToFile(ExpressionCollection.ExportMode, String, ExpressionCollection.SortType)

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

    FindObject(String)

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

    GetAttributeExpression(NXObject, String, NXObject.AttributeType, Int32)

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

    GetExpressionsOfType(ExpressionCollection.Type, Boolean)

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

    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
    Type Description
    Expression[]

    GetWarningsOnExpression(Expression, out String[])

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

    ImportFromFile(String, ExpressionCollection.ImportMode, out Boolean, out String[])

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

    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
    Type Name Description
    Expression expression
    NXObject object
    System.String title
    NXObject.AttributeType type
    System.Int32 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
    System.String newName

    ToArray()

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

    UpdateForExternalChange()

    Declaration
    public void UpdateForExternalChange()

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    System.Collections.IEnumerable
    In This Article
    Back to top Generated by DocFX