Creating a plan line of code

Hello

I'm turning to you because I would have code that would allow me to create a plan in a "part" file. with the choice of plan.

Thank you in advance

Hello

Your question remains a bit vague... What do you mean by code???

1 Like

Hello;

Indeed it is not clear.

Want a macro to create a new plane that is offset from a reference plane? on an existing area? from points?

I invite you to look at the API help files:

http://help.solidworks.com/2017/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.imodeldoc2~createplaneatoffset3.html

http://help.solidworks.com/2017/english/api/sldworksapi/create_plane_thru_3_points_in-context_example_vb.htm

http://help.solidworks.com/2017/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.imodeldoc2~createplaneatsurface3.html

Be more specific about these kinds of requests... (solidworks version and API language: Vba ? c#? c++?).

Kind regards.

 

1 Like