-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Instance renaming not working #188
Comments
I can reproduce this with my own quick and dirty script. Have you tested this in VB? pycatia doesn't do anything fancy here so I suspect the fault lies with CATIA V5? |
So, I recorded a macro to see how CATIA does it in VB and converted that to pycatia. Interestingly this works:
|
Been playing some more. The key here seems to be to use I don't think this is a pycatia bug. |
You are right : " The key here seems to be to use get_item" |
It's maybe bit hacky but I'm thinking you could maybe use your method to get the name of the instance and use that name with It's definitely a bit weird. I'm hoping to have a look at this a bit more soon. |
@gggstamm , Have you resolved your issue ? |
|
Describe the bug
when trying to change the "name" it is not taken into account if the Part is in a Component
To Reproduce
Sample of code with snapshot
Expected behavior
the cube instance name should be changed
Screenshots
screenshot of the bad result given
Cube.zip
Desktop (please complete the following information):
Additional context
no
The text was updated successfully, but these errors were encountered: