DatabaseObject Class |
The DatabaseObject class is a base class for all drawing objects.
SystemObject
Tekla.Structures.DrawingDatabaseObject
Tekla.Structures.DrawingDrawing
Tekla.Structures.DrawingDrawingObject
Tekla.Structures.DrawingDatabaseObject
Tekla.Structures.DrawingDrawing
Tekla.Structures.DrawingDrawingObject
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The DatabaseObject type exposes the following members.
| Name | Description | |
|---|---|---|
| QueryReturnValue |
Status information about the latest database operation (select, insert, modify, delete).
|
| Name | Description | |
|---|---|---|
| Delete |
Deletes the instance from the database.
| |
| GetDoubleUserProperties(DictionaryString, Double) |
Retrieves all double user properties for the object with the given list of names.
| |
| GetDoubleUserProperties(ListString, DictionaryString, Double) |
Retrieves all double user properties for the object with the given list of names.
| |
| GetIntegerUserProperties(DictionaryString, Int32) |
Retrieves all integer user properties for the object with the given list of names.
| |
| GetIntegerUserProperties(ListString, DictionaryString, Int32) |
Retrieves all integer user properties for the object with the given list of names.
| |
| GetStringUserProperties(DictionaryString, String) |
Retrieves all string user properties for the object with the given list of names.
| |
| GetStringUserProperties(ListString, DictionaryString, String) |
Retrieves all string user properties for the object with the given list of names.
| |
| GetUserProperty(String, Double) |
Gets a double property from the drawing object. The object has to be in a drawing before
the method can be used.
| |
| GetUserProperty(String, Int32) |
Gets an integer property from the drawing object. The object has to be in a drawing before
the method can be used.
| |
| GetUserProperty(String, String) |
Gets a string property from the drawing object. The object has to be in a drawing before
the method can be used.
| |
| Insert |
Inserts the object instance into the database. The inserted instance must be of a real type.
| |
| IsSameDatabaseObject |
Returns true if the current object and the given object are referencing the same database object.
| |
| Modify |
Modifies the instance in the database.
| |
| Select |
Selects the object instance from the database.
| |
| SetUserProperty(String, Double) |
Sets a double property for the drawing object. The object has to be in a drawing before
the method can be used.
| |
| SetUserProperty(String, Int32) |
Sets an integer property for the drawing object. The object has to be in a drawing before
the method can be used.
| |
| SetUserProperty(String, String) |
Sets a string property for the drawing object. The object has to be in a drawing before
the method can be used.
|