Interface IDocument

Represents document of the Tekla Structural Designer application

Namespace: TSD.API.Remoting.Document
Assembly: TSD.API.Remoting.dll
Syntax
public interface IDocument

Properties

Name Description
ModelId

Gets the ID of model contained in the document

Path

Gets the path of the document file on the disk. Can be empty if document is not yet saved.

Methods

Name Description
CloseAsync(bool, CancellationToken)

Closes the document

GetModelAsync(CancellationToken)

Returns the currently active structure model

GetSessionsAsync(CancellationToken)

Returns a collection of sessions in the document (sorted from newest to oldest)

SaveToAsync(string, bool, CancellationToken)

Saves the document to given path

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next