-
Is there any automatic way to imprint washers/bolt heads on a face in Discovery?
For instance, let's assume that we've got a wind blade bearing and the idea is to automatically make an imprint of the bolts holes by an edge offset. That offset is given by a ratio of the hole radius. Image below gives an overview of the final target:
-
How do I set up specific shared topology on edges?
How can I set up shared topology on specific edges in spaceclaim or discovery scripting?
-
How to select specific direction faces.
How to select only the X and Y direction faces?
-
Determine if Spaceclaim and/or Discovery has Geometry External Dependencies
Does someone have a snippet to check if any other the parts/bodies in SC or Discovery are external referenced instead of internal?
-
Discovery Pull Helix revolve creates wrong height
Hi all, I have taken scripting of the Pull with helix revolve tool and want to parameterise. For some reason, the "height" of Pull is not being respected, e.g. creating a height of 34mm instead of the requested 31.9mm. This seems random, as for other dimensions the too works properly. Dscript file also attached. Can you…
-
Referencing SpaceClaim dlls
Hi, I have created several ACT functionalities in SpaceClaim ANSYS 2020R2 which I'm transfering to 2023R1. I have tried to use the following code snippet in both versions: _import clr clr.AddReference("SpaceClaim.Api.V20.Scripting.dll") import SpaceClaim.Api.V20.Scripting as SCv20_Scripting rootPart =…
-
Can I interact with SpaceClaim or Ansys Discovery from outside the application ?
Hello there. I want to interact with either SpaceClaim or Discovery programmatically, create geometries, and save files, without interacting with the software's UI. Very similar to the Pyfluent library to interact with Ansys Fluent with a Python script. How can it be done?
-
How to export the cross point on the surface to csv file?
On the SpaceClaim or Discovery, How to export the cross point on the surface like the following image to csv file?
-
How can I set the .stil import unit system (Spaceclaim/Discovery)
How can I use the document insert API to insert an stl but specify the unit system to use for that file? Options = ImportOptions.Create() Options.Stl.Units=??
-
Example: How to use different geometry files parametrically in Workbench/Mechanical
This is an example of how to use totally independent geometry files as a parametric input in Workbench. This is done via script parameters in Discovery where the different geometry files are given a numeric value (i.e. a python dictionary of {1:Path1, 2:Path2, etc..}) These values can be used in conjunction with Named…
-
How can I assign a material to multiple bodies in Spaceclaim?
How can I assign a material to multiple bodies in Spaceclaim? The material can be in the Local Materials or in the Library
-
Get bounding box of whole CAD assembly in SpaceClaim/Disovery.
I would like to get the bounding box of the whole CAD using script. Is that any way to do that?
-
How do I run Discovery in batch?
I am looking for command line command to run a Discovery script in batch mode
-
Space Claim script to detect overlapping selections
In Space Claim is there a command for detecting overlapping named selections? It is not possible to record "Named Selections" > "Detect Overlapping Selections" Are any examples available?
-
How to generate named selections for faces in contact between 2 bodies?
-
How to create a surface cylinder in Spaceclaim?
-
How to select the shared edges in Spaceclaim?
How to select the shared edges in Spaceclaim?
-
Select face by location (Rayfire)
How to select a face by location?
-
Select a body by location
Select a body by location
-
Convert Catia parameters into Script Parameters
-
Create a surface from multiple points
-
Create a polygon in Spaceclaim / Discovery
-
Create a cone in Spaceclaim/Discovery
-
Create a surface body from Faces
-
Example of worflow automation: create geometry, model setup, and postprocess
Is there an example of workflow automation with geometry creation, model setup and postprocessing?
-
How do you flip the normal direction of a surface body via SpaceClaim scripting?
In SpaceClaim and Discovery the normal of a solid body is always "out" of the solid. For surface bodies the connected faces should always have consistent normal direction, but this direction can be flipped. In the interface you can flip the normal direction by using the tool in Measure - Quality - Normal, selecting a face…
-
How to check in SpaceClaim if a body is a surface body?
How can you use SpaceClaim scripting API to check if a body is a surface body or solid body?
-
How to use deviation in Spaceclaim via API
How can I use the deviation tool in SC/Discovery and then save images to a file.