SequenceContext.SetMultipleValues
- Updated2025-07-21
- 1 minute(s) read
SequenceContext.SetMultipleValues
Syntax
SequenceContext.SetMultipleValues( lookupString, elem, multipleValues)
Purpose
Use this method to update the multiple value state for property elements under SequenceContext.Step in a context that Engine.NewEditContext created. You create a SequenceContext that represents multiple steps by passing an array of object references to steps as the first parameter. When you set the value of a property element of the steps the context represents, you must use this method to update the context so that SequenceContext.GetMultipleValues returns correct values.
Remarks
Use this method if you are writing a sequence editor in which you can select multiple steps and the editor displays Multiple Values for step property elements.
Calling this method does not update any object in the sequence context or any object you used to create the sequence context.
Parameters
lookupString As String
[In] Pass the name of a subproperty within the SequenceContext you want to set the multiple values of. You can also pass lookup strings to this parameter.
elem As PropertyObjectElements
[In] Specifies the element of the subproperty that you want to set the multiple value state of.
multipleValues As Long
[In] For the PropertyObjectElement_Flags element of a subproperty, specify the bits of the PropertyFlags constant where each bit is zero if the corresponding flags have the same value. For all other elements, pass 0 if the element contains the same value and 1 if the element contains multiple values.