Method SetCurrentSimulation
SetCurrentSimulation(DocumentId, ElementId)
Sets the current simulation entity of a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
void SetCurrentSimulation(DocumentId inDocumentId, ElementId inSimulationId)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| ElementId | inSimulationId | Identifier of the new current simulation entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.