-
Script doesn't work while inside ACT Extension
I'm trying to create a Workbench Mixed Wizard, to analyze a simple cantilever beam. I managed to make the geometry generation script to work for any SpaceClaim instance I open as standalone. Although, when it's part of a step of a Wizard, I get the following error: I feel like I should import the SpaceClaim scripting…
-
How to get Faces Aligned with a Direction and Located at the "Top" of the Body
This example is how to get faces aligned with a direction and also located on the "top" of the body in that direction. You can see the type of faces in the image, aligned with the Z Direction. Notice one of the 3 blocks does not have a face selected because it it not oriented in line with the Z axis. This is useful often…
-
How to modify the color property of beams and surfaces from script
Hello, I'm using SpaceClaim 2021 R1 with python interpreter V19 I need to change the color property of beams and surfaces, in particular beams, but I couldn't find a way. I tried recording the operation to get the snippet code but, when I change the color, it doesn't record anything. I hope someone have already found out a…
-
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?
-
Cyclic Symmetry with Multiple Cyclic Index (Angles)
Hi, it would be appreciated, if any one can clarify for the below query. 1) Can we use different sector angles for each component of an Assembly in cyclic symmetry analysis? For example, we are providing 36 (1/10th) degrees of sector angle to Component A and 72 (1/5th) degrees to Component B of sector angle in the…
-
How to delete Edges of some components in SpaceClaim?
How to delete Edges of some components in SpaceClaim?
-
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=??
-
Can I change material properties in SpaceClaim through Scripting?
How can I access and change the properties of a Material assigned to a body in the Tree?
-
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
-
How can I access Custom Component Properties in SpaceClaim?
How can I access a user-defined property in Custom Component Properties?
-
Cyclic symmetry with Bonded Contacts
Hi, it would be appreciated, if any one can clarify for the below query. 1) Do cyclic symmetry work with open joints and the contacts between them being bonded? (Figure). 2) Furthermore, do the hoop continuity stress affects both the components due to the bonded contacts (as it behaves as a continuous component) in Cyclic…
-
Creating beam profile in SpaceClaim and assigning to curve
I would like to create a beam profile and assign it to a curve using script. I know start point and end point.
-
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?
-
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?
-
Python SpaceClaim API: Setting object visibility from selection
Greetings, I am trying to "check the box" for a number of parts in the structure tree. Using the recording feature of the API, I get the ViewHelper.SetObjectVisibility class/method. Trying to apply this to my existing selection yields nothing though - code below. How can I toggle the parts based on my existing selection?…
-
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?
-
change Spaceclaim options
How to change the Spaceclaim options (for instance, Autosave, Rendering quality and Language) ?
-
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