[solved] Sketcher_NewSketch -> Broken link to support subelements.

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
dprojects
Posts: 722
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

[solved] Sketcher_NewSketch -> Broken link to support subelements.

Post by dprojects »

I created workbench and I added there link to Sketch creation with "Sketcher_NewSketch" command. But there is problem with this icon. At PartDesign this works fine but at the new workbench the icon "Sketcher_NewSketch" not allow to create new Sketch for selected Body. I have to unselect the Body and create the Sketch outside the Body. If I have selected Body and click the icon I got error.

This is Sketch PartDesign code bug? It can't be created outside the PartDesign workbench? or there need to be something additional imported?

Image
Last edited by dprojects on Thu Mar 17, 2022 11:03 pm, edited 1 time in total.

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher_NewSketch -> Broken link to support subelements.

Post by chrisb »

PythonConsole says it uses PartDesign_NewSketch.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dprojects
Posts: 722
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Sketcher_NewSketch -> Broken link to support subelements.

Post by dprojects »

chrisb wrote: Thu Mar 17, 2022 10:31 pm PythonConsole says it uses PartDesign_NewSketch.
The icons looks the same and the tooltip says the same but the "PartDesign_NewSketch" works now, Thanks.

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
Post Reply