I spent the whole afternoon trying to figure out how to get the command Make2d working in vb.net through rhinocommon.
I’m using this code to launch the function:
RhinoApp.RunScript("-_Make2d DrawingLayout=CurrentView ShowTangentEdges=Yes CreateHiddenLines=No MaintainSourceLayers=Yes Enter", True)
When stop the code just before this line, and copy paste the exact same code in rhino console it works fine. (Well not the exact same code, just the script code)
Would you have any idea?