Skip to main content

python-ironcad

IronCAD Logo

A Python module for IronCAD automation and scripting. This package exposes IRONCAD's entire API to python.

Installation

pip install python-ironcad

In order for python to access the IRONCAD API, dll's from IRONCAD's install need to be registered system-wide. to do this, simply run the setup script:

python -m python_ironcad

Quick Start

import the package

import python_ironcad

construct IronCAD object

IRONCAD = IronCAD()

if you want to attach to currently running IRONCAD process

IRONCAD.attach()
IZBaseApp = IRONCAD.GetIZBaseApp()
IZDoc = IZBaseApp.ActiveDoc # get currently open document

if you want to launch new IRONCAD process

IRONCAD.launch()
IZBaseApp = IRONCAD.GetIZBaseApp()
IZDoc = IZBaseApp.CreateNewDoc(1, 0, 1, "", 1) # create a new document

Please refer to samples for more in-depth examples

tips

help() function to find member methods and data

to inspect all members of a given object, use help(object) help function

intellisense in Visual Studio Code

if you want to use intellisense to see object members, you can use python type hints. (this also works in pycharm)

Intellisense

known issues

  • INOVATE is currently not supported
  • Some methods that use VARIANT type don't work
  • currently only targets the most recent installed version of IRONCAD

Metadata

Release files for python-ironcad 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-ironcad 0.1.21
File Size Uploaded
python_ironcad-0.1.21.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-ironcad 0.1.21
File Interpreter ABI Platform
python_ironcad-0.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 30.8 kB

Release files / python_ironcad-0.1.21.tar.gz

Download URL python_ironcad-0.1.21.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9030556b07d3a58833d8e22fe0e752727780d7ee65d11cfda69caeb4954b0ccf
BLAKE2b-256 checksum
How to use checksums
79a0033d00305438ebdfba27e17c571e255cd6b117a9ad295e94cad2e314e095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.

Transparency log

Release files / python_ironcad-0.1.21-py3-none-any.whl

Download URL python_ironcad-0.1.21-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b6281ce1bdfa43e44cb789b225eff7ca1a601750a63c55dfa208580b9339c45
BLAKE2b-256 checksum
How to use checksums
e510dc9d56d455152dadba213efef893686118aba9f8429009edad482bbeea36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.21 This release

2 release files

0.1.20

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page