Macro FCTreeView/hr


Macro FCTreeView.png Macro FCTreeView

Description
This macro display all object of the project in one list with options sort search by name label...
Author
Mario52
Links
Macros recipes
How to install macros
How to customize toolbars
Version
00.07
Date last modification
2018-05-06


Description

Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label .... without case sensitive or with case sensitive and select all objects displayed in the macro window.

How To Use

Macro FCTreeView


Section Window

The title display the option, number and type object(s) displayed

If one object are selected : the Placement Base, Rotation and Center of mass is displayed (if available !) Icon used for the Name of object Icon used for the Name of object (the scrollbar is colored blue)

Icon used for the Label of object Icon used for the Label of object (the scrollbar is colored blue clear)

Icon used for visualise if the object is status Visible (mouse click for Hidden) Icon used for visualise if the object is status Visible (mouse click for Hidden) (the scrollbar is colored green)

Icon used for visualise if the object is status Hidden (mouse click for Visible) Icon used for visualise if the object is status Hidden (mouse click for Visible) (the scrollbar is colored red)

Icon used for the Name contains objects (or folder Group) Icon used for the Name contains objects (or folder Group)

Icon used for inform the object in a group the number objects is displayed in top group Icon used for inform the object in a group the number objects is displayed in top group (the scrollbar is colored red clear)

Icon used for displayed the single object (not group) Icon used for displayed the single object (not group)

Section Sort by :

Macro FCTreeView 10.png Name Icon used for flip/flop normal/reverse the data listing sort by Name

Macro FCTreeView 11.png Label Icon used for flip/flop normal/reverse the data listing sort by Label

Macro FCTreeView 12.png Visible Icon used for flip/flop normal/reverse the data listing sort by Visibile/Hidden

Macro FCTreeView 13.png Group Icon used for flip/flop normal/reverse the data listing sort by Group/Single object

Macro FCTreeView 19.png Length If this check Box is checked the sort is created by length with the button clicked (Name, Label ...)

Section Global

Macro FCTreeView 21.png Split flip/flop Split the Name list

Macro FCTreeView 22.png Split flip/flop Split the Name and Label list

Macro FCTreeView 14.png Expend flip/flop the data listing Fold/Expend

Macro FCTreeView 15.png Expend flip/flop the data listing Expend/Fold

Macro FCTreeView 06.png Visibility flip/flop normal/Visibility

Macro FCTreeView 07.png Group flip/flop normal/Group

Macro FCTreeView 16.png Reload reload the data in the project

Macro FCTreeView 18.png Original return in original organisation after operation visibility/Hidden

Macro FCTreeView 01.png All Visible visualise if the object is status Visible

Macro FCTreeView 02.png All Hidden visualise if the object is status Hidden

Section Search

Macro FCTreeView 20.png Clear Clear the search line edit

The radioButton options Search:

Macro FCTreeView 23.png Select flip/flop for Selected all object(s) displayed in the window

Macro FCTreeView 24.png Unselected flip/flop Unselected all object(s)

Macro FCTreeView 25.png S Sheet access in Spreadsheet options

The SpreadSheet options:

Macro FCTreeView


Macro FCTreeView 001.png

Macro FCTreeView 002.png

Macro FCTreeView 28.png Select : Select all checkBox option to save

Macro FCTreeView 29.png Select : unSelect all checkBox option to save

Macro FCTreeView 003.png

Macro FCTreeView 004.png

Macro FCTreeView 005.png

Macro FCTreeView 006.png

Macro FCTreeView 28.png Select select all checkbox options

Macro FCTreeView 29.png Unselect unselected all checkbox options

Macro FCTreeView 27.png Save save the data in Spreadsheet displayed. if no spreadsheet is active the spreadsheet named FCSpreadSheet is created

Macro FCTreeView 26.png Quit quit the Spreadsheet options

Ikone

The icon must be copied into the same directory as the macro

Icon used for the Name of object Icon used for visualise if the object is status Visible (mouse click for Hidden) Icon used for visualise if the object is status Hidden (mouse click for Visible) Icon used for inform the object in a group the number objects is displayed in top group Icon used for displayed the single object (not group) Icon used for the Label of object Icon used for flip/flop normal/Visibility Icon used for flip/flop normal/Group Icon used for Reverse the data listing (momentarily not used) Icon used for quit Macro FCTreeView (momentarily not used) Icon used for flip/flop normal/reverse the data listing sort by Name Icon used for flip/flop normal/reverse the data listing sort by Label Icon used for flip/flop normal/reverse the data listing sort by Visibility/Hidden Icon used for flip/flop normal/reverse the data listing sort by Grout/Single object Icon used for flip/flop the data listing Fold/Expend Icon used for flip/flop the data listing Expend/Fold Icon used for reload the data in the project Icon used for the Name contains objects (or folder Group) Icon used for return in original organisation after operation visibility/Hidden If this check Box is checked the sort is created by length with the button clicked (Name, Label ...) Icon used for Clear the search line edit Icon used for flip/flop Split the Name list Icon used for flip/flop Split the Name and Label list Icon used for Selected all object(s) displayed in the window Icon used for Unselected all object(s) Icon used for access in Spreadsheet options Icon used for quit the Spreadsheet options Icon used for save the data in Spreadsheet Icon used for select all checkbox options Icon used for unselected all checkbox options Icon used for save the value data in Spreadsheet Icon used for save the value and Unit data in Spreadsheet Icon used for save the value, Unit and type data in Spreadsheet Icon used for split the value, Unit and type in cell separate in Spreadsheet

Script

For prevent many instance the clic on ToolBar button are effect flip/flop (hide/visible)

The macro is located in right dock for change it modify the value line number 133 testing = 0 (or change it with the mouse as a widget normal)

The icon ToolBar Macro FCTreeView

Macro FCTreeView.FCMacro


Za napraviti

Docked the macro

Version

ver 00.07 (06/05/2018) : modify procedure for search the last cell used

ver 00.06 (13/12/2017) : correct little bug line del line num 1881 "del listeSortedBis[doublon][4:] # supprime le fond inutile" thanks renatorivo

ver 00.05 (27/11/2017) : add creation spreadsheet and many option for him

ver 00.04 (29-09-2017) : add search by numeric value (length, radius....)

values researched :

global impost                 ; impost = ["Angle","Angle0","Angle1","Angle2","Angle3","ChamferSize","Circumradius","Columns","Degree",
                                          "FilletRadius","FirstAngle","Growth","Height","LastAngle","Length","Length2","MajorRadius",
                                          "MinorRadius","Pitch","Polygon","Radius","Radius1","Radius2","Radius3","Rows","Size","Width",
                                          "X","X1","X2","Xmax","Xmin","X2max","X2min",
                                          "Y","Y1","Y2","Ymax","Ymin","Y2max","Y2min",
                                          "Z","Z1","Z2","Zmax","Zmin","Z2max","Z2min"] 

ver 00.03 (23/09/2017) : add search by type object

ver 00.02 (11/09/2017) : modify for docked and prevent many instance the clic on button are effect flip/flop (macro hide/visible)

ver 00.01 (08/09/2017)  :

Online version: "http://www.freecadweb.org/wiki/index.php?title=Macro_FCTreeView/hr&oldid=286722"

Navigation menu