Method SetDocumentParameterPossibleValues
SetDocumentParameterPossibleValues(ElementId, List<DocumentProperty>)
Sets the document parameter possibles values.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 17, 0, 0)]
void SetDocumentParameterPossibleValues(ElementId inElementId, List<DocumentProperty> inProperties)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the parameter. |
| List<DocumentProperty> | inProperties | The wanted possibles values. |
Remarks
This method must be used for Document parameter such as Material or Coating documents.
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.17.000.000.