Model Methods |
The Model type exposes the following members.
Methods
Name | Description | |
---|---|---|
CommitChanges |
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.
| |
CommitChanges(String) |
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.
| |
FetchModelObjects(ListString, Boolean) |
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.
| |
FetchModelObjects(ListIdentifier, Boolean) |
Fetches a list of modelobjects based on given identifier list of objects,
and optionally selects objects before returning them.
| |
GetClashCheckHandler |
Returns a new clash check handler.
| |
GetConnectionStatus |
Returns true if a proper connection to the Tekla Structures process has been established.
Currently, there's no way to re-establish the connection.
| |
GetGUIDByIdentifier |
Returns the GUID of the given identifier instance.
| |
GetIdentifierByGUID |
Returns an identifier instance that has the given GUID in the model.
| |
GetInfo |
Returns information about the currently open model.
| |
GetModelObjectSelector |
Returns a ModelObjectSelector instance from which different kind of selections
can be made.
| |
GetPhases |
Returns information about the current model's phases.
| |
GetProjectInfo |
Returns information about the current model's project.
| |
GetWorkPlaneHandler |
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.
| |
SelectModelObject |
Takes as input an identifier to an object and then checks its type and
instantiates and selects it before returning it.
|
See Also