Share

ExpressionList Object


Description

The ExpressionList provides access to a list of possible expressions that can be used for the associated parameter.

Methods

Name Description
ClearAll Method that removes all items from the list.
GetExpressionList Rreturns an array of Strings that represents the list of expressions used in the list.
SetExpressionList Method that sets the list of expressions for the parameter this expression list is associated with. The current value of the associated parameter will be modifed to match one of the values in the list. The CurrentValueIndex argument allows you control over which value from the list is used.

Properties

Name Description
AllowCustomValues Gets/Sets whether to allow users to specify custom values.
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Count Property that specifies the number of expressions in the list.
CustomOrder Read-write property that gets and sets whether to disable automatically sorting the custom values. If you assign a list of values using SetExpressionList, that operation will automatically set CustomOrder to True. If you want to assign a list using SetExpressi.
Item Property that gets the specified expression in the list.
Parent Property that returns the parent Parameter object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DerivedParameter.ExpressionList, FinishParameter.ExpressionList, ModelParameter.ExpressionList, Parameter.ExpressionList, ReferenceParameter.ExpressionList, TableParameter.ExpressionList, UserParameter.ExpressionList

Version

Introduced in version 2011

Was this information helpful?