Replies: 2 comments
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I recommend that you execute your code via IDLE Shell and test it with a few elements. For example, you can use print statements to output logging statements to the console. This allows you to check whether the code is behaving correctly. This allows you to check whether your code is working correctly. https://docs.cadwork.com/projects/cwapi3dpython/en/latest/get_started/
You could even use the IDLE for debugging (it is not the most beautiful view 🙈 ).
|
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello all
I wish to use auto attributes to detect the part which have not 8 right angles (marked as "TAILLE") such as we make 2D drawings (same as docking saw key function). it will enables to us to detect in the export file the part which has not been detected by the docking saw function or the ones which has been created after using this function (it happened a lot in the past)
I created a python script but it seems there is a bug in my cadwork file because some parts with 4 right angles are detected as "TAILLE".
Can you help me to understand this bug ?
FYI, all the part are picked from our internal catalog.
I made some tests and by creating new beans and copying attribute from the bugged parts and i have not anymore the issue. So aybe it comes from my catalog but I would like to check.
here is the link to reach the file
https://drive.google.com/drive/folders/1kAIxq5AXgh9RPa9KcMgI1mdKivLr3wSK?usp=sharing
Many thanks for your help and have a good day
Beta Was this translation helpful? Give feedback.
All reactions