PolyColumn API is a fully programmable interface that lets you drive every aspect of PolyColumn without using the graphical user interface. You can:
- Define cross section, loads and supports programmatically
- Save and load project PolyColumn files in the native .pco format
- Generate PDF reports automatically
- Extract analysis results for further processing in your own tools
By embedding the PolyColumn API into your workflow, you eliminate repetitive manual steps, accelerate project delivery and ensure consistent, error-free results through automation.
How to use PolyColumn API with C#
- Download & Install
Get the latest PolyColumn release from www.PolyStruc.com/Download and follow the installer prompts - Open Your IDE
Launch Visual Studio (or any C#-capable code editor) and load your project—or create a new one. - Add the PolyColumn.Connector Package
In the NuGet Package Manager, search for and install PolyColumn.Connector. - Create a Connection
In your code, instantiate the API connection: - Invoke API Commands
Call methods on yourconnection
object to:- Define cross section, loads & supports
- Run analyses
- Save or load .pco project files
- Generate PDF reports
- Extract results for further processing
using PolyColumn.Connector;
var polyColumn = new PolyColumnConnection();
Small Console Application Examples
Jumpstart your PolyColumn API integration with a suite of ready-to-run console apps. Simply download the examples, open the solution in Visual Studio, and run any project to see the API in action.
Example 1: Simple Concrete Column
Programmatically create a basic concrete column, retrieve its utilization ratio, and save the model as a .pco file.
Example 2: Create PDFs for Saved Projects
Enter a directory path in the console; the app will scan for all .pco files, open each one, and generate a corresponding PDF report.
Example 3: Open, Modify & Retrieve Model
Launch the PolyColumn GUI, design or edit a column interactively, then pull that updated model back into your C# code for further automation.
Download the examples and explore what you can build with the PolyColumn API!