📊

Organizer v2 - Tekla Tools

Advanced productivity suite for Tekla Structures view management

C# WPF MVVM MySQL Tekla Open API Data Binding

Overview

Organizer v2 is a comprehensive productivity suite designed to enhance workflow efficiency in Tekla Structures. This advanced toolset combines view management, object analysis, and visual organization features into a unified, user-friendly interface.

Built with modern WPF architecture and MVVM design pattern, the application provides real-time interaction with Tekla models while maintaining excellent performance and responsiveness. The tool is particularly valuable for large projects where efficient model navigation and object identification are critical.

Productivity Focus: Designed to reduce time spent on routine view management tasks by up to 70%, allowing engineers to focus on design and analysis work.

Core Features

✂️

Intelligent Clipping Planes

Automatic generation of clipping planes based on selected objects with smart boundary detection

🎨

Advanced Coloring

Dynamic object coloring by profile, material, class, or phase with custom color generation

🔍

Object Analysis

Real-time analysis of selected objects with comprehensive property display

🗄️

Database Integration

MySQL database for steel profile properties with geometric and structural data

👁️

View Management

Bulk operations on views with selective or global application modes

📋

Smart UI

Context-aware interface that adapts to selected objects and model state

Technical Architecture

MVVM Implementation

The application follows a strict Model-View-ViewModel architecture for maintainable and testable code:

// Example: Real-time object selection handling private void Events_SelectionChangeEvent() { lock (_selectionEventHandlerLock) { ModelObjectEnumerator selectedObjects = new ModelObjectSelector().GetSelectedObjects(); if (selectedObjects.GetSize() == 0 || selectedObjects.GetSize() > 1) { HandleNoObjectSelection(); } else { ProcessSelectedObjects(selectedObjects); } } }

Database Architecture

MySQL database stores comprehensive steel profile information:

Clipping Plane Intelligence

Smart Boundary Detection

The clipping plane system automatically analyzes selected objects to determine optimal viewing boundaries:

// Automatic clipping plane generation public static void CreateClipPlanes() { ModelViewEnumerator ViewEnum = GetViewEnum(); List<Solid> solids = GetSolidsFromSelected(); GetMinMaxValues(solids, out double maxX, out double minX, out double maxY, out double minY, out double maxZ, out double minZ); while (ViewEnum.MoveNext()) { View ActiveView = ViewEnum.Current; // Create 6 clipping planes for complete object isolation CreateClipPlanesForView(ActiveView, maxX, minX, maxY, minY, maxZ, minZ); } }

Advanced Features

Geometric Calculations

The system performs sophisticated geometric analysis:

Advanced Coloring System

Dynamic Color Generation

The coloring system creates visually distinct colors for object categorization:

// Rainbow color generation algorithm public static int[][] GenerateRainbowColorsWithoutRed(int n) { int[][] colors = new int[n][]; double hueStep = 300.0 / n; double startHue = 60.0; for (int i = 0; i < n; i++) { double hue = startHue + (i * hueStep); int[] color = HsvToRgb(hue, 1.0, 1.0); colors[i] = color; } return colors; }

Representation File Management

Automatic creation and management of Tekla representation files:

Supported Color Modes

📏

By Profile

Colors objects based on steel profile type with database-driven categorization

🔩

By Material

Groups objects by material grade with predefined color schemes

📋

By Class

Standard Tekla class-based coloring with enhanced visual clarity

By Phase

Phase-based coloring for construction sequence visualization

Real-time Object Analysis

Comprehensive Property Display

The object analysis system provides detailed information about selected elements:

Basic Part Information

Advanced Design Properties

Database-driven display of structural properties:

// Database query for profile properties public MyProfil GetProfileGeometryByName(string profileName) { using (MySqlConnection connection = new MySqlConnection(connectionString)) { connection.Open(); string query = "SELECT * FROM steeldb.iprofiles WHERE Name = @Name"; MySqlCommand command = new MySqlCommand(query, connection); // Return comprehensive profile data with 25+ properties return CreateProfileFromReader(command.ExecuteReader()); } }

User Interface Design

Modern WPF Implementation

The interface leverages advanced WPF features for professional appearance and functionality:

🎨

Custom Styling

ResourceDictionary-based styling with consistent visual themes

🔄

Data Binding

Two-way data binding with automatic UI updates and validation

📱

Responsive Layout

Grid-based layout that adapts to different window sizes

Performance

Virtualized controls and efficient rendering for large datasets

Custom Controls

Specialized UI components enhance user experience:

// Custom toggle button style definition <Style x:Key="ToggleButtonStyle" TargetType="{x:Type ToggleButton}"> <Setter Property="Background" Value="{DynamicResource SecondaryGrayColor}"/> <Setter Property="Height" Value="20"/> <Setter Property="Width" Value="35"/> <!-- Custom template with animations --> </Style>

Performance & Optimization

Tekla API Optimization

Efficient interaction with Tekla Structures through optimized API usage:

Database Performance

UI Responsiveness

Installation & Configuration

System Requirements

Setup Process

  1. Install MySQL server and import steel profile database
  2. Configure database connection string in application settings
  3. Extract Organizer v2 files to Tekla applications folder
  4. Register the application with Tekla Structures
  5. Configure default preferences and UI layout
  6. Test all features with sample model

Database Configuration

The application requires access to a comprehensive steel profile database:

Database Setup: Complete SQL scripts are provided for easy database initialization with sample data.

Use Cases & Benefits

🏗️

Large Projects

Essential for complex models with 1000+ parts requiring efficient navigation

👥

Team Collaboration

Standardized view management across design teams

📊

Quality Control

Visual identification of design inconsistencies

📈

Productivity

70% reduction in time spent on view management tasks

Professional Impact

User Feedback: "Organizer v2 has become an essential part of our daily workflow. The clipping plane automation alone saves hours every week." - Senior Structural Engineer

Future Development

Planned Enhancements

Version History