Support Forum

How can i create a comb drive using python script?

surendran

Monday 6th March 2023
I tried to use addCombDrive in python script from parametric shape library, but throwed some error?
J├╝rgen
LayoutEditorFull
Monday 6th March 2023
By using the parametric shape library the combdrive is created by the C++ macro named *combdrive.layout* from the shape library. To create it via a Python script you ether need to reprogramm this macro in Python or call that macro via the layout::executeMacro() from a Python script.