CatalogHandlerImportCustomComponentItems Method |
Imports custom component items (*.uel) from path to component catalog.
Import overrides the existing custom components in the catalog without any warnings.
Namespace: Tekla.Structures.Catalogs
Assembly: Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Parameters
- path
- Type: SystemString
The path to be used for import. This can be a uel file or a folder containing one or more uel files.
Return Value
Type: Booleantrue if successful.
using System; using Tekla.Structures.Catalogs; public class Example { public void Example1() { if (new CatalogHandler().ImportCustomComponentItems(System.IO.Path.GetTempPath())) Console.WriteLine("Custom components imported successfully to catalog."); } }