Method CreateDocumentWithTemplate
CreateDocumentWithTemplate(PdmObjectId, PdmObjectId)
Creates a TopSolid document with a template.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
PdmObjectId CreateDocumentWithTemplate(PdmObjectId inOwnerId, PdmObjectId inTemplateObjectId)
Parameters
| Type | Name | Description |
|---|---|---|
| PdmObjectId | inOwnerId | Identifier of owner. |
| PdmObjectId | inTemplateObjectId | Identifier of the template. |
Returns
| Type | Description |
|---|---|
| PdmObjectId | Identifier of the created document. |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.6.