evereux / pycatia

python module for CATIA V5 automation
MIT License
196 stars 53 forks source link

fix parameters.py: resolved errors in .item() function, extend and improve parsing of parameters #198

Closed mokrueger closed 7 months ago

mokrueger commented 7 months ago

Proposed fix for https://github.com/evereux/pycatia/issues/197.

This uses a new way to obtain the com_class type to then map it to the correct parameter class. This parsing is experimental but seems to work for most things.

Fallback is the previous parsing solution.

evereux commented 7 months ago

Can you resolve this merge conflict please?

mokrueger commented 7 months ago

Done! :) Should work now as expected

mokrueger commented 7 months ago

Perhaps you can also check if works for you as well, since I am using the slightly modified com interface

evereux commented 7 months ago

Thanks!

I tried it out earlier and it worked fine for me. 👍