Method SetLifeCycleMainState
SetLifeCycleMainState(PdmObjectId, PdmLifeCycleMainState)
Changes the life cycle main state of an object.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 9, 302, 160)]
void SetLifeCycleMainState(PdmObjectId inObjectId, PdmLifeCycleMainState inLifeCycle)
Parameters
| Type | Name | Description |
|---|---|---|
| PdmObjectId | inObjectId | Identifier of object to change life cycle main state. |
| PdmLifeCycleMainState | inLifeCycle | Life cycle to apply (None and Design life cycles are not supported). |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.9.302.160.