Skip to content
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

Replace button remains inactive sometimes #66

Open
DeepSOIC opened this issue Mar 24, 2023 · 2 comments
Open

Replace button remains inactive sometimes #66

DeepSOIC opened this issue Mar 24, 2023 · 2 comments

Comments

@DeepSOIC
Copy link
Owner

had it when i made a cut operation into a loft, and then wanted to replace all refs to the loft with the cut version. Selecting from tree didn't work (button was inactive), but selecting in 3d view worked fine.

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Germany (en_DE)

@DeepSOIC
Copy link
Owner Author

Steps to reproduce:

  1. create Module
  2. add two Part primitives
  3. do a boolean cut
  4. select one of the primitives and the Cut in Model tree

-> replace button is inactive
-> Gui.GetSelection() and Gui.GetSelectionEx() both return one selected object, while there clearly are two. It's an API bug, may be fixed in newer FreeCAD.

@DeepSOIC
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant