Hello. I hope you are doing well. I have some questions regarding the mapping from VBA to Python. This is regarding the COM object SOLIDWORKS. I am trying to translate the following VBA code: Set skSegment = Part.SketchManager.CreateSpline((pointArray)) Part.ClearSelection2 True Part.SketchManager.InsertSketch True
Set swSkMan = Part.SketchManager Set swSketch = skSegment.GetSketch vSketchSeg = swSketch.GetSketchSegments On python. However,This part: *Part.SketchManager.CreateSpline((pointArray)) *gives the following error; Nonetype is not callable. -- *Sanaa Mouzahir* *Columbia University in the city of New York* *M.S Computational and data-driven engineering mechanics* *+19173614172* www.linkedin.com/in/sanaamouzahir <https://www.bing.com/images/search?view=detailV2&ccid=OExL%2fKES&id=953FACCCB479C2FAA1A53CA425902FD30CA440A4&thid=OIP.OExL_KES2EC3IRZLeDK1DAHaEK&mediaurl=https%3a%2f%2fwallpapercave.com%2fwp%2fwp2710561.jpg&cdnurl=https%3a%2f%2fth.bing.com%2fth%2fid%2fR.384c4bfca112d840b721164b7832b50c%3frik%3dpECkDNMvkCWkPA%26pid%3dImgRaw%26r%3d0&exph=1080&expw=1920&q=Columbia+University&simid=608011745402298620&FORM=IRPRST&ck=6D77295D8F2F476D59DBF884FA81D9F3&selectedIndex=7&ajaxhist=0&ajaxserp=0>
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32