Translations:Scripted objects/73/fr

def makeMolecule: FreeCAD.newDocument a=FreeCAD.ActiveDocument.addObject("App::FeaturePython","Molecule") Molecule(a) b=ViewProviderMolecule(a.ViewObject) a.touch FreeCAD.ActiveDocument.recompute return a,b