Skip to main content

Creopyson

https://img.shields.io/pypi/v/creopyson.svg https://github.com/Zepmanbc/creopyson/actions/workflows/release.yml/badge.svg https://coveralls.io/repos/github/Zepmanbc/creopyson/badge.svg?branch=master Documentation Status Buy Me A Coffee

Creopyson is a python library that aim to control PTC’s CREO Parametric via JLink via CREOSON.

CREOSON uses JSON Requests to send commands/functions to CREO, JSON Responses are used to communicate the results of your requests.

Creopyson creates a Client to send JSON Requests to CREOSON server.

Features

Creopyson can be used to automate actions in CREO:

  • Get BOM

  • Manage files, Working directories

  • Support Familytables

  • Export 3D/2D: pdf3d, pdf, STEP, IGES, JPEG…

  • Interact with layers, views

  • Read/Write parameters, dimensions

  • Support Windchill

Basic usage video:

https://github.com/Zepmanbc/creopyson/raw/master/docs/_static/video.png

See documentation for more informations…

Credits

CREOSON from Simplified Logic, Inc.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.7.8 (2025-09-10)

  • BugFix:
    • Correction for drawing.add_sheet (issue#101)

0.7.7 (2024-02-03)

  • BugFix:
    • Correction for drawing.set_view_loc (issue#84)

0.7.6 (2023-02-26)

  • BugFix:
    • Correction for layer.delete (issue#68)

Documentation update (2023-02-16)

Update for Creoson 2.8.2 release.

  • No modification in creopyson, just documentation update, see Creoson’s release note.

0.7.5 (2022-12-10)

  • BugFix:
    • Add missing location argument on note_set (issue#62)

0.7.4 (2022-05-16)

Update for Creoson 2.8.1 release.

  • Add parameters:
    • bom_get_paths : get_simpreps

  • Documentation update:
    • creo_set_creo_version : Creo 8 support.

0.7.3 (2021-08-29)

  • Add is not None almost everywhere to prevent False and None confusion

  • Migrates to Github Workflow

  • Remove pipenv stuff

0.7.2 (2021-04-01)

  • change python_requires to “>=3.7”

0.7.1 (2021-03-23)

  • BugFix:
    • file_get_active returns {} instead of None with Creoson 2.8.0

0.7.0 (2021-03-22)

Update for Creoson 2.8.0 release.

  • New functions:
    • creo_set_creo_version (prevent Creo 7 problems)

    • feature_list_selected

  • Add parameters:
    • feature_set_param: description

    • parameter_set: description

  • Documentation update:
    • drawing_list: add view_model, simp_rep in Return

    • feature_list_param: add description in Return

    • feature_user_select_csys: add file, remove “feat_number* in Return object.

    • parameter_list: add description in Return

  • BugFix:

    file_set_cur_material: now working with Creoson >2.8.0

0.6.2 (2021-02-17)

Bugfix:

  • drawing.get_cur_model: correction data_key (issue#27)

0.6.1 (2021-01-30)

Bugfix:

  • familytable.list_tree: correction data_key (issue#21)

Documentation update:

  • Usage: Add vanilla Creoson

  • Usage: Add logging

  • Issues template: add Creo version

0.6.0 (2020-07-16)

Update for Creoson 2.7.0 release.

  • New functions:
    • file_get_accuracy

  • Add parameters:
    • interface_mapkey: delay

    • interface_export_pdf interface_export_pdf3d : sheet_range

0.5.2 (2020-07-09)

Documentation update

  • usage: path slashes correction

Docstring correction

  • drawing_list_models : correction (issue#18)

Bugfix

  • file_get_transform : Does not return transform key (issue#17)

0.5.1 (2020-05-19)

Docstring updates:

  • interface_import_file: PV extension correction.

  • interface_export_image: add infos about valid values in docstrings for dpi and depth.

Features updates:

  • interface_mapkey: remove extra white space in script string.

  • connection_start_creo: add use_desktop param.

New Feature:

  • Add logging DEBUG on request & response.

0.5.0 (2020-03-08)

Update for Creoson 2.6.0 release.

  • New functions:
    • interface_import_file

  • Add parameters:
    • bom_get_paths: add has_simprep

    • file_delete_material: file now allows wildcard

    • interface_export_file: add NEUTRAL to file_type

    • file_load_material: file_ allows wildcard

  • New returns:
    • file_massprops: add inertia matrices to output (ctr_grav_inertia_tensor, coord_sys_inertia, coord_sys_inertia_tensor)

0.4.3 (2020-03-07)

Update missing features from previous Creoson updates.

  • New Features:
    • drawing_set_sheet_format

    • file_get_cur_material

    • file_get_cur_material_wildcard

    • file_list_materials

    • file_list_materials_wildcard

    • file_load_material_file

    • file_set_cur_material

  • New param:
    • note_list:
      • add select param

      • add location in response

0.4.2 (2020-03-03)

Bugfix:

  • feature_list params correction (ADD: status, paths, no_comp. REMOVE: param, value, encoded)

  • feature_list_params params correction(inc_unnamed)

  • feature_param_exists params correction (name)

  • add test on status correct values in feature’s functions (feature_delete, feature_list feature_resume, feature_suppress)

modify pipenv config for bleach security alert.

0.4.1 (2020-01-30)

Bugfix:

  • view_list_exploded(): name param was in request even if empty (issue#4)

  • start_creo(): path decomposition did not worked with Windows style (issue#5)

  • geometry_get_surfaces(): wrong data_key waited in result, need surflist (issue#6)

0.4.0 (2019-10-12)

Update for Creoson 2.5.0 release.

  • New functions:

    • file_delete_material

    • drawing_get_sheet_format

    • dimension_set_text

  • Add parameters:

    • windchill_clear_workspace: filenames

    • dimension_list: select

    • dimension_list_detail: select

    • feature_resume: name can be an integer for feat_ID

    • feature_suppress: name can be an integer for feat_ID

  • New returns:
    • note_get: location

    • dimension_list: dwg_dim

    • dimension_list_detail: dwg_dim

  • Few notes updates

0.3.3 (2019-07-13)

Bugfix:

  • feature_resume: with_children paramt set default to False (issue #3)

0.3.2 (2019-07-03)

Bugfix:

  • creo_list_dirs: return empty list if there is no folder in the directory (issue #1)

Add basic usage video on README

0.3.1 (2019-06-30)

Bugfixes:

  • view_list: default query name=”*”

0.3.0 (2019-06-29)

Bugfixes:

  • file_set_mass_units: function param correction

  • file_list: function param correction

  • general: set active file when file is optionnal

Improvement:

  • file_open: activate and display default to True

  • dimension_set: file is optionnal

0.2.0 (2019-06-28)

Update for Creoson 2.4.0 release. New functions:

  • parameter_set_designated

  • feature_list_group_features

  • feature_list_pattern_features

Add missing function:

  • feature_list_params

0.1.0 (2019-06-22)

First release on PyPI.

Metadata

Release files for creopyson 0.7.8

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

Source distribution (sdist)

Source distribution for creopyson 0.7.8
File Size Uploaded
creopyson-0.7.8.tar.gz 224.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for creopyson 0.7.8
File Interpreter ABI Platform
creopyson-0.7.8-py3-none-any.whl Python 3 none any Details

Total release size: 263.7 kB

Release files / creopyson-0.7.8.tar.gz

Download URL creopyson-0.7.8.tar.gz
Size 224.5 kB
Tags Source
SHA-256 checksum
How to use checksums
09ce395fa25ed3dffc6af4931803a9b742e9596eff6a74916a8f858776c62b98
BLAKE2b-256 checksum
How to use checksums
874115024cc3058eb8e4dd62d4f730b2bab06e43287a3fac4c13278365684a86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / creopyson-0.7.8-py3-none-any.whl

Download URL creopyson-0.7.8-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bea1ba2633ba674fdb04ce2946612dfe4c9f287777f1c7979316c4c10c7e64dc
BLAKE2b-256 checksum
How to use checksums
68b131d2a6155e701c182808516a8a81878638fe900e90cecf8f1e00370e25f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

0.7.8 This release

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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