TAGGED: python-scripting, spaceclaim
-
-
September 18, 2025 at 2:00 pm
Lumbdi
SubscriberI'm generating a geometry using a script in spaceclaim. It used to work in other projects, but since IÂ swapped from 24R2 to 25R1 it's inconsistent and only works sometimes.
It makes a 2D planesectionPlane = Plane.PlaneXY
result = ViewHelper.SetSketchPlane(sectionPlane, None)and adds lines
result = SketchLine.Create(start, end)
I then want to make named selections, but these lines get sometimes added to FFF/Sketching Plane1 / Sketch1 and sometimes to FFF / Surface (which is how it used to work).
If i delete the sketchContainer1, i get an alternating once it works and then it doesn't behaviourÂselection = SketchContainer1
Delete.Execute(selection)How do i make this consistent?
-
- You must be logged in to reply to this topic.
- FSAE CFD – Lesson 1 Preparation question (Using Discovery)
- Project lines/edges into a face with the direction normal to the face
- Script for subtracting models
- No preview in explorer with scdox file
- Multiple Instances of SpaceClaim taking multiple licenses
- Spaceclaim file reference error
- Issues after installing new service pack 2024R1 (sp5)
- Add-in Error Excel
- Problems with loading my Discovery Mesh into Fluent
- Missing SubDivWrapper.dll
-
3892
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.