Skip to content

Releases: evereux/pycatia

0.4.1

10 Sep 11:39
Compare
Choose a tag to compare

Changelog

  • Document.save_as() - If overwrite is set to true DisplayFileAlerts is set to False.
  • Analyze added to Part().
  • Updates / fixes to SettingController(s) and LicenseSettingAtt. More work to be done here yet though.
  • Document.add() now accepts lowercase document_types.
  • Document.add() now correctly returns a document.

0.4.0

29 Jul 15:03
Compare
Choose a tag to compare

Breaking changes.

  • The catia application object now needs to be initialized in your scripts. This was done so scripts can be written in such a way that they first launch CATIA V5 (or check it's actually running) before the application object is initialised. Previously, the object was initialised immediately on import. Not practical for some use cases. For example:
>>> from pycatia import catia
>>> # initialise the catia application automation object.
>>> caa = catia()
>>> document = caa.active_document
  • Removed pycatia.workbenches folder. Functionality is provided for Document object.
  • Lots of bug/type fixes. Mypy is great!
  • Collection objects are now directly iterable (Product.get_products() will be deprecated in later release).
>>> from pycatia import catia
>>> caa = catia()
>>> document = caa.active_document
>>> product = document.product()
>>> products = product.products
>>> for product in products:
>>>     print(product)
  • Improved viewing experience of API. I hope.

Builds

build_win32: pycatia_0.4.0.zip

0.3.9

24 Jul 14:26
Compare
Choose a tag to compare
  • Added product.generate_ALLCATPart.
  • Added product.constraints.
  • Improved error message for selection.search.
  • Removed product.concession (now constraints and easier to use).
  • Removed application.execute_script and application.evaluate. Should use application.system_service.
    • All methods dependant on application.SystemService updated.
  • Docs
    • API CAA reference note now collapsed by default.
    • Restructured examples.
    • Added pycatia API tree for overview.
    • Changed sphinx theme to alabaster.
  • Added windows executable (see win_32 folder on github). This isn't thoroughly
    tested and is provided for testing purposes.

0.3.8

20 Jul 08:46
Compare
Choose a tag to compare
  • Updated all hybrid_shape_interfaces properties due to regression bug introduced by merging old source .py files.
  • Fixed missing API docs.

Documentation

0.3.7

19 Jul 10:14
Compare
Choose a tag to compare
  • Restructured API documentation.
  • Added type hinting.
  • Fixed issues with vis_property_set.
  • Added ability to create a message box (MsgBox). See examples.