Created
October 14, 2025 10:35
-
-
Save stephensmitchell/9abc10f946ee90b2a2b816e0cd03d611 to your computer and use it in GitHub Desktop.
Modify an Existing Part
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://help.alibre.com/articles/#!alibre-help-v28/modify-an-existing-part | |
| # demonstrates opening an existing part and adding a 3d sketch to it | |
| # load P:\work\TestPart.AD_PRT | |
| MyPart = Part(r'C:\Users\<username>\Desktop\ScriptDir', 'New') | |
| # create a 3D sketch | |
| Route = MyPart.Add3DSketch('Route') | |
| Route.AddBspline([0, 0, 0, 5, 0, 0, 10, 5, 5, 15, 10, 5, 15, 15, 15]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment