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.17

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.17
File Size Uploaded Provenance Actions
python_ironcad-0.1.17.tar.gz 12.9 kB With provenance Details for python_ironcad-0.1.17.tar.gz

Built distribution (wheel)

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

Total release size: 25.9 kB

Release files / python_ironcad-0.1.17.tar.gz

Download URL python_ironcad-0.1.17.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
745910dbaffd536d13102b944c7a27d9f9627960e588d6cf6702dff9234a8f60
BLAKE2b-256 checksum
How to use checksums
6ffcd25bd0e09d4682f3cada318739d2fce522f18890d21af837139ce5e169c4
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 21, 2026.

Transparency log

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

Download URL python_ironcad-0.1.17-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
744c5f1ef3924d49db81d90034408fe96d8e0ec45a1142ccb7e784cfb53ae62e
BLAKE2b-256 checksum
How to use checksums
5ed7c3265e5927df74a0fd7bb99c68df1b36c020b16be41e1870b7961ab72300
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 21, 2026.

Transparency log

Security for python-ironcad 0.1.17

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for python_ironcad-0.1.17.tar.gz

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 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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