跳到主要内容

Code Examples for Creating Geometric Primitives using the SOLIDWORKS API

Collection of code examples for creating geometric primitives (such as boxes, cylinders, planes, toruses, etc.) using the SOLIDWORKS API. sidebar_position: 1

labels: [geometry, topology, primitives]

Collection of code examples for creating geometric primitives (such as boxes, cylinders, planes, toruses, etc.) using the SOLIDWORKS API.

Explore the methods of the IModeler SOLIDWORKS API interface to learn how to create geometric objects.

Use the IPartDoc::CreateFeatureFromBody3 SOLIDWORKS API method to create a permanent body from a temporary body.