The Model class represents a single model open in Tekla Structures. Before interaction with the model, the user will have to create one instance of this class.
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2018.1.0.0 (2018.1.0.0)
Thetype exposes the following members.
Commits the changes made to the model database so far. One commit is something that a user can later on undo with the undo command. A commit also launches the drawing of the changed product model to the visible views. A dependent plug-in should never call CommitChanges, since this would make undo very difficult for the user to do. However, non-dependent plug-ins require a separate commit if new objects are created.
Commits the changes made to the model database so far. One commit is something that a user can later on undo with the undo command. A commit also launches the drawing of the changed product model to the visible views. A plug-in should never call CommitChanges, since this would make undo very difficult for the user to do.
Fetches a list of modelobjects based on given guid list of objects, checks if guid is native or external (for reference model object) and optionally selects objects before returning them.
Returns a new clash check handler.
Returns true if a proper connection to the Tekla Structures process has been established. If, for some reason, the connection has been lost, the method will return false. Currently, there's no way to re-establish the connection.
Returns the GUID of the given identifier instance.
Returns an identifier instance that has the given GUID in the model.
Returns information about the currently open model.
Returns a ModelObjectSelector instance from which different kind of selections can be made.
Returns information about the current model's phases.
Returns information about the current model's project.
Returns a new work plane handler for the model. The work plane handler can be used to manipulate the current work plane in the model.
Takes as input an identifier to an object and then checks its type and instantiates and selects it before returning it.