Hello ~
Examples of such attachments: Find feature (bend3)
There are groups within the feature classification, if they know where the feature name, in addition to each of a group looking for ways to open the way to the outside there is no other search methods?
Thank you
Juyam
OS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.3980 (Git)
Branch: master
Hash: a81a307346eff36c39f72493ffe8cd231080edf6
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.0
Search features
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Search features
- Attachments
-
- TT1.fcstd
- (81.57 KiB) Downloaded 91 times
Re: Search features
Greetings Juyam, do you want to search your FreeCAD model tor the item "bend3"? If so I don't know of a way to do it through the GUI, but somebody else may know of a way to do a search through the Python console.
The ability to do a search for item or Feature may be worth a feature request on the tracker; people seem to be making more complicated models as time goes on.
The ability to do a search for item or Feature may be worth a feature request on the tracker; people seem to be making more complicated models as time goes on.
Re: Search features
Actually I've been thinking too to add a kind of search feature... Still not sure how to do that well. My original idea was like having a search box on top of the tree view, but how to display the results in an efficient way, in case your search gives several results?
Anyway, yes it would be a good feature request.
Selecting objects with a certain search pattern in their label from python is very simple:
Anyway, yes it would be a good feature request.
Selecting objects with a certain search pattern in their label from python is very simple:
Code: Select all
Gui.Selection.clearSelection()
searchpattern = "Cube"
for obj in App.ActiveDocument.Objects():
if searchpattern in obj.Label:
Gui.Selection.addSelection(obj)
Re: Search features
If I may suggest a behavior for the multiple result of a search, it could be to select multiple items as the result get from the "Box Selection" (Edit menu).
Obviously, it would be nice :
- to expand automatically the label tree if the item is "hidden" in a sub-label
- to have the wildcard (*) capability in such a search, and, perhaps, the "advanced search" (+ / -).
Obviously, it would be nice :
- to expand automatically the label tree if the item is "hidden" in a sub-label
- to have the wildcard (*) capability in such a search, and, perhaps, the "advanced search" (+ / -).
Re: Search features
Hm yes, actually using the Selection window might work very well, since that window can hold several items. That window might actually get enhanced a bit, for example to display labels and allow to select one of the items.
Re: Search features
Reported as issue #1737yorik wrote:Anyway, yes it would be a good feature request.
Re: Search features
Juyam, have a look here:Juyam wrote:Find feature (bend3)
viewtopic.php?f=9&t=7661
It will be available in the PPA soon.
Re: Search features
New packages were built 40 minutes ago. Chances are this new feature is already available.
https://launchpad.net/~freecad-maintain ... /+packages
https://launchpad.net/~freecad-maintain ... /+packages
Re: Search features
bejant wrote:Juyam, have a look here:Juyam wrote:Find feature (bend3)
viewtopic.php?f=9&t=7661
It will be available in the PPA soon.
Great features. Thanks!