Tekla Structures Complex Items Performance: Shape Cleaner, DirectX, and Dashed Hidden Lines
Tekla Structures lags when working with complex items imported from DWG, SKP, or IFC files. I cover the Shape Cleaner extension, DirectX rendering setup, and the XS_USE_DASHED_HIDDEN_LINES setting that fix item performance.

Tekla Structures Complex Items Performance: Shape Cleaner, DirectX, and Dashed Hidden Lines
Trimble's support documentation addresses complex item performance directly: "Performance of items is directly related to the complexity of the shapes the items use. The main driving factor to increase complexity is a high number of faces a shape has. Items with high complexity can affect performance in many ways: opening of models, zooming and panning, inserting, copying and moving items, snapping to item geometries, item previews, creation and opening of drawings, interaction inside the drawings."
Complex items are typically imported geometry — architectural components from DWG files, equipment models from SKP (SketchUp), or building elements from IFC files. These imported shapes can have thousands or tens of thousands of faces, and when used in large quantities, they bring Tekla to a standstill.
Fix 1: Re-import Shapes Using Tekla 2018i or Newer
Trimble's first recommendation: "Make sure you re-import all shapes using Tekla Structures 2018i or a newer version. The newer the better."
Why Re-Import Is Necessary
Older versions of Tekla imported shapes in a format that was not optimized for performance. Starting with Tekla 2018i, the import function was improved to:
- Create lighter items with fewer faces
- Generate smaller
.tezfiles (found in theShapeGeometriesmodel folder) - Optimize the shape data structure for faster rendering
Re-Import Process
- Locate the original geometry files (
.dwg,.skp,.ifc, etc.) - Don't re-import from
.tscfiles — these are just zipped versions of the old shape format - In Tekla, go to Applications & Components → Items
- Delete the existing item
- Re-import the original geometry file
- The new import creates an optimized shape
Fix 2: Use the Shape Cleaner Extension
If you don't have the original geometry files, use the Shape Cleaner extension:
- Open the Applications & Components catalog
- Search for Shape Cleaner
- The Shape Cleaner is available in Tekla Structures 2019 and newer
- Run the Shape Cleaner on all items in the model
- The extension mimics the re-import process, optimizing existing shapes
- It converts old shape formats to the new optimized format
Running Shape Cleaner
- Launch the Shape Cleaner extension
- Select all items or specific items to clean
- Click Clean
- The process may take several minutes for models with many items
- After completion, save and reopen the model
- Check if performance has improved
Fix 3: Enable DirectX Rendering
Trimble recommends: "On the modeling side, turn on DirectX rendering and re-open the views. DirectX rendering has been optimized to work with complex geometry."
Enable DirectX
- Go to File → Settings → Advanced Options
- Search for
XS_USE_DIRECTX - Set the value to
TRUE - Restart Tekla Structures
- Reopen all views — they now use DirectX rendering
If DirectX Makes Performance Worse
Trimble notes: "If using DirectX rendering makes performance worse, you either do not have a powerful enough graphics card, or you do, but you have not instructed the graphics card to be used with Tekla Structures."
Configure NVIDIA GPU
- Open NVIDIA Control Panel
- Go to Manage 3D Settings → Program Settings
- Add
TeklaStructures.exe(typically atC:\Program Files\Trimble\Tekla Structures\2025\bin\TeklaStructures.exe) - Set Preferred graphics processor to High-performance NVIDIA processor
- Click Apply
- Restart Tekla Structures
Configure AMD GPU
- Open AMD Adrenalin Software
- Go to Graphics → Applications
- Add
TeklaStructures.exe - Set Graphics Profile to High Performance
- Restart Tekla Structures
Check Which GPU Tekla Is Using
- In Tekla, go to Help → About Tekla Structures
- Look for the graphics card information
- If it shows an integrated GPU (Intel UHD, AMD Radeon Graphics), the discrete GPU is not being used
- Follow the NVIDIA or AMD configuration steps above
Fix 4: Adjust XS_USE_DASHED_HIDDEN_LINES
Trimble's guidance: "Check what is your setting for XS_USE_DASHED_HIDDEN_LINES from advanced option. Setting this to TRUE generally improves performance, but in some special cases such as using certain very complex shapes, it might in fact decrease performance significantly."
- Go to File → Settings → Advanced Options
- Search for
XS_USE_DASHED_HIDDEN_LINES - If set to
TRUEand you have complex items:- Change to
FALSE - Restart Tekla Structures
- Test performance
- Change to
- If set to
FALSEand you don't have complex items:- Change to
TRUE - Restart Tekla Structures
- Test performance
- Change to
- The optimal setting depends on your specific model content
Fix 5: Reduce Item Face Count
If Shape Cleaner doesn't sufficiently optimize the items:
Simplify Source Geometry
- Open the original geometry file in its source application (AutoCAD, SketchUp, etc.)
- Reduce the polygon/face count:
- In SketchUp: Use Extensions → Simplify
- In AutoCAD: Use Modify → Simplify
- In Rhino: Use Mesh → Reduce
- Re-import the simplified geometry into Tekla
Replace Complex Items with Simple Representations
- Create a simple Tekla part (beam, plate, polybeam) that represents the item's envelope
- Use this simple part for modeling and detailing
- Keep the complex item in a separate reference model for visualization only
- This is the most effective approach for items used in large quantities
Fix 6: Optimize Drawing Performance with Complex Items
Trimble notes that complex items also affect "creation and opening of drawings, interaction inside the drawings."
Use Drawing-Level Item Simplification
- In the drawing properties, go to Object Representation
- Set complex items to Outline or Bounding Box representation
- This reduces the geometry processed for drawing views
- Use Exact representation only for final drawing output
Exclude Items from Drawings
- In the drawing properties, use Object Group filters
- Exclude complex items that aren't needed in the drawing
- For example, exclude architectural items from structural drawings
- This reduces drawing processing time significantly
Fix 7: Use Item Prototypes
- Create an optimized item and save it as a prototype
- Use the prototype for all instances of that item type
- All instances share the same optimized shape definition
- This is more memory-efficient than having multiple shape definitions for the same item
Fix 8: Monitor Shape Database Size
- Check the
ShapeGeometriesfolder in the model directory - This folder contains
.tezfiles for all item shapes - If the folder is very large (over 1GB), it indicates many complex shapes
- Run Shape Cleaner to optimize the shape database
- Delete unused shapes: File → Tools → Delete Unused Shapes
Summary
| Fix | Impact | Difficulty | |-----|--------|------------| | Re-import shapes with Tekla 2018i+ | Very high | Medium | | Run Shape Cleaner extension | Very high | Easy | | Enable DirectX rendering | High | Easy | | Configure discrete GPU | High | Medium | | Adjust XS_USE_DASHED_HIDDEN_LINES | Medium | Easy | | Simplify source geometry | Very high | Medium | | Replace with simple parts | Very high | Medium | | Use drawing-level simplification | High | Easy | | Use item prototypes | Medium | Easy | | Monitor shape database | Medium | Easy |
The most effective fix is re-importing shapes using the original geometry files in a recent Tekla version. If original files aren't available, the Shape Cleaner extension is the next best option. Combined with DirectX rendering and proper GPU configuration, these fixes can reduce item-related performance issues by 80%+. For items used in large quantities (100+ instances), replacing them with simple Tekla parts is the ultimate solution — it eliminates the complex shape processing entirely.
Source Verification
More Tekla Structures Guides
performance
Tekla Structures Drawing Creation Slow: View Generation, Numbering, and Database Optimization
8 min
troubleshooting
Tekla Structures IFC Export Problems: Missing Geometry, Wrong Properties, and File Size Optimization
8 min
performance
Tekla Structures Large Model Performance: Work Area, View Filters, and Model History
9 min
troubleshooting
Tekla Structures Multi-User Model Slow: Saving, Locking, and Database Synchronization Fixes
8 min
Related Performance Guides
Similar performance content for other CAD tools
3ds Max
•performance
3ds Max Large Scene Optimization: Proxies, Instances, and Memory Management
10 min
3ds Max
•performance
3ds Max Viewport Lag on High-End PC: GPU Driver, Display, and Scene Optimization Fixes
9 min
Ansys
•performance
Ansys Mesh Quality Metrics: Element Distortion Diagnosis and Fix Guide
10 min
Archicad
•performance
ArchiCAD File Bloat and Corruption: Compress, Repair, and Audit Workflow
8 min