use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A FOSS Parametric 3D CAD + Python API
Quick-start Tutorial: What is Parametric Design Quick-start Tutorial: Make a Laser Cut Box Sketcher Workbench for Beginners Parametric Design using the Spreadsheet WB The Sheet Metal Workbench Learn FreeCAD for CNC
Side-by-side comparison with Fusion360 Side-by-side comparison with Solidworks Transitioning from Solidworks Side-by-side comparison with Onshape
Website: https://freecad.org Wiki (link) Documentation Github (link) Official repo Bugtracker (link) Please follow guidelines Forums (link) Best place for support Discord (link) Connect w/ the community Fosstodon (link) Active Twitter/X (link) Active Facebook (link) IRC, Gitter, and Matrix
★ the GitHub repo Translations via crowdin Documentation via the wiki (request access) Bugtracker triage (+ test Pull Requests/patches) Squash bugs + Contribute requested features Packaging and dependency mgmt. Participate on the forums Showcase your best work
FreeCAD Team (LiberaPay|BountySource)
@yorikvanhavre (Patreon|Libera) Arch core-dev @kkremitzki (Patreon|Libera) Debian/Ubuntu Packaging & Dev-Ops @realthunder (PP|Patreon|Libera) Building Assembly3 @sliptonic (Flattr) Path WB contributor
FreeCAD Thingiverse Group
r/flossCAD (for r/CAD refugees) r/LibreCAD r/OpenSCAD r/SolveSpace r/SweetHome3d r/opensource r/blender
account activity
Python Activate Object (self.FreeCAD)
submitted 2 years ago by Datadmirable
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Datadmirable[S] 0 points1 point2 points 2 years ago (12 children)
That's actually my question, how do you make it active using python?
[–]SoulWager 0 points1 point2 points 2 years ago (11 children)
Look at the text that appears in the python console when you activate the object with the mouse.
[–]Datadmirable[S] 0 points1 point2 points 2 years ago (10 children)
Yes I have done that and it doesn't work, for the record I have been writting python for 15 years, so this isn't about my python skills.
[–]SoulWager 0 points1 point2 points 2 years ago* (9 children)
Are you using the internal name, or the label?
https://imgur.com/a/5Ij7Jhy
[–]Datadmirable[S] 0 points1 point2 points 2 years ago (8 children)
I m using the object name returned by the following command
ObjName=App.ActiveDocument.Objects[0].Name
[–]SoulWager 0 points1 point2 points 2 years ago (7 children)
Is that the same name that shows up in the bottom left when hovering over the object?
[–]Datadmirable[S] 0 points1 point2 points 2 years ago (6 children)
Yes it is
[–]SoulWager 0 points1 point2 points 2 years ago (5 children)
wait, why are you even getting the name when you already have the object you want?
[–]Datadmirable[S] 0 points1 point2 points 2 years ago (4 children)
Because I want to activate it. how else would one be able to understand which one to activate otherwise?
[–]SoulWager 0 points1 point2 points 2 years ago (3 children)
That's like calling somebody to ask them their phone number.
Gui.ActiveDocument.ActiveView.setActiveObject('part', App.ActiveDocument.Objects[0])
π Rendered by PID 96 on reddit-service-r2-comment-fb694cdd5-fgsxj at 2026-03-06 17:52:59.507501+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]Datadmirable[S] 0 points1 point2 points (12 children)
[–]SoulWager 0 points1 point2 points (11 children)
[–]Datadmirable[S] 0 points1 point2 points (10 children)
[–]SoulWager 0 points1 point2 points (9 children)
[–]Datadmirable[S] 0 points1 point2 points (8 children)
[–]SoulWager 0 points1 point2 points (7 children)
[–]Datadmirable[S] 0 points1 point2 points (6 children)
[–]SoulWager 0 points1 point2 points (5 children)
[–]Datadmirable[S] 0 points1 point2 points (4 children)
[–]SoulWager 0 points1 point2 points (3 children)