Method CreateDerivedDocument
CreateDerivedDocument(PdmObjectId, DocumentId, bool)
Creates a new derived part or assembly of a specified part or assembly.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 0, 0)]
DocumentId CreateDerivedDocument(PdmObjectId inOwnerId, DocumentId inDocumentId, bool inUseDefaultTemplate)
Parameters
| Type | Name | Description |
|---|---|---|
| PdmObjectId | inOwnerId | Identifier of owner. |
| DocumentId | inDocumentId | Identifier of the part or assembly document to derive. |
| bool | inUseDefaultTemplate | Tells whether to use the default template if present. |
Returns
| Type | Description |
|---|---|
| DocumentId | Derived part or assembly document identifier. |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.10.