CatalogHandler Methods

The CatalogHandler type exposes the following members.

Methods
  NameDescription
Public methodCode exampleExportProfileItems
Exports the profile items in the profile database to given path and file name. Currently library profiles, sketch profiles and clb profiles are supported. Library profiles are exported to *.lis format. Sketch profiles are exported to *.uel format. Clb profiles are exported to *.clb format. If profiles are not available, export fails. If path is empty, export fails. If file name is empty, export fails.
Public methodGetBoltItems
Returns an enumerator of all bolt items.
Public methodGetComponentItems
Returns an enumerator of all component items.
Public methodGetConnectionStatus
Returns true if a proper connection to the Tekla Structures process has been established. Currently, there's no way to re-establish the connection.
Public methodGetDrawingItems
Returns an enumerator of all drawing items.
Public methodGetLibraryProfileItems
Returns an enumerator of library profile items.
Public methodGetMaterialItems
Returns an enumerator of all material items.
Public methodGetMaterialMarketSizes
Returns an enumerator of all material marketsizes. Data is read from XS_PROFDB\marketsizes.dat file.
Public methodGetMeshItems
Returns an enumerator of mesh items.
Public methodGetParametricProfileItems
Returns an enumerator of parametric profile items.
Public methodGetPrinterItems
Returns an enumerator of all printer items.
Public methodGetProfileItems
Returns an enumerator of all profile items.
Public methodGetRebarItems
Returns an enumerator of rebar items.
Public methodGetShapeItems
Returns an enumerator of all shape items.
Public methodGetUserPropertyItems
Returns an enumerator of all user property items.
Public methodGetUserPropertyItems(CatalogObjectTypeEnum)
Returns an enumerator of user property items of the given object type.
Public methodCode exampleImportBoltItems
Imports bolt items and their assembly information (*.bass) from folder to bolt assembly catalog and bolt catalog. Import overrides the existing bolts in the catalog without any warnings.
Public methodCode exampleImportCustomComponentItems
Imports custom component items (*.uel) from path to component catalog. Import overrides the existing custom components in the catalog without any warnings.
Public methodCode exampleImportDrawingItems
Imports drawing setting items (*.tsds) from specified folder to model folder. Import throws exception if model is not open. Import overrides the existing drawing items in the catalog without any warnings.
Public methodCode exampleImportLibraryProfileItems
Imports library profile items (*.lis) from folder to profile catalog. Import overrides the existing profiles in the catalog without any warnings.
Public methodCode exampleImportMaterialItems
Imports material items (*.lis) from folder to material catalog. Import overrides the existing materials in the catalog without any warnings.
Public methodCode exampleImportMeshItems
Imports mesh items (*.mexp) from folder to mesh catalog. Import overrides the existing mesh item in the catalog without any warnings.
Public methodCode exampleImportParametricProfileItems
Imports parametric profile items (*.uel) from folder to profile catalog. Import overrides the existing profiles in the catalog without any warnings.
Public methodCode exampleImportRebarItems
Imports rebar items (*.rexp) from folder to reinforcement catalog. Import overrides the existing rebar item in the catalog without any warnings.
Public methodCode exampleImportShapeItems
Imports shape geometry items (*.tsc) from specified folder. Import throws exception if model is not open. Import overrides the existing shape items in the catalog without any warnings.
Public methodSaveProfileDatabase
Saves the profile database.
Top
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next