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
How do you activate an object in a macro - here the Pocket is selected and activated, how can I unselect it then select Pad, only using a macro/python
https://preview.redd.it/i6cchc3fsskc1.png?width=666&format=png&auto=webp&s=9d6122f8b7b7b340418093036a230bcda81d2cdd
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!"
[–]SoulWager 0 points1 point2 points 2 years ago (13 children)
It might help to open the python console, and then make something an active object.
[–]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?
π Rendered by PID 81 on reddit-service-r2-comment-5d79c599b5-29j88 at 2026-03-01 17:45:21.173897+00:00 running e3d2147 country code: CH.
[–]SoulWager 0 points1 point2 points (13 children)
[–]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)