TAGGED: scripting, spaceclaim
-
-
March 1, 2023 at 5:43 am
david.goodwin
Bbp_participantHello I am trying to create a script that uses the interferences tool. Unfortunately this tool doesnt record in the macro. Is there any way to make this happen?
-
March 1, 2023 at 9:16 am
Atharv Joshi
Forum ModeratorHi FlavaDave ,
Let me check and get back to you.
-
March 2, 2023 at 2:21 am
Atharv Joshi
Forum ModeratorHi FlavaDave ,
I tried recording interference tool, and it was able to record script checking for the interference.
Can you please share the API version you are using and screen recording the steps you are doing? That will help me investigate the issue.
Thanks and Regards
-
March 2, 2023 at 2:53 am
david.goodwin
Bbp_participantAtharv Joshi Thanks for looking. I am on API v23 inside spaceclaim R2023r1. Also have the same problem In R2022 R2 API v22.
I start the recording with selection set to index and verbose. I box select the bodies and hit interference volumes and the tool runs but nothing appears in the script. Then I create the interference volumes and still nothing appears. Changing those bodies to red colour in the next step, and that does appear in the script.
Thanks
-
-
March 2, 2023 at 4:37 am
-
March 2, 2023 at 6:20 am
Atharv Joshi
Forum ModeratorFlavaDave Thanks for sharing the video.
Are you looking to measure the interference volume and create a new solid which represents the interference, or do you want to remove the interference?
If you try recording the script from Prepare tab. It removes the interference and records the script. I have attached the video for the same.
I will check why it doesn't record script when in measure tab>>interference volume. Also, let me know If using interference from prepare tab solves your problem.
Thanks and Regards
🛈 This post originally contained file attachments which have been removed in compliance with the updated Ansys Learning Forum Terms & Conditions
-
-
March 2, 2023 at 8:58 am
david.goodwin
Bbp_participantNo I wanted to create the bodies from the interference then turn them red. Then fly through the model in x-section view to identify the cause of the interference. So unfortunately the prepare option doesnt work for me.
Thanks,
-
March 2, 2023 at 9:37 am
Atharv Joshi
Forum ModeratorFlavaDave Thanks for the update. I will check and get back to you.
-
March 6, 2023 at 3:53 am
Atharv Joshi
Forum ModeratorHi FlavaDave
I have imported Collision in SpaceClaim which helps identifying intersecting bodies. Furthermore, measured the volume and highlighted the body in red.
Please check the attached geometry and script. Let me know if this solves your problem.
Thanks, and Regards
🛈 This post originally contained file attachments which have been removed in compliance with the updated Ansys Learning Forum Terms & Conditions -
March 6, 2023 at 8:03 am
david.goodwin
Bbp_participantThank you for that. That seems to have the right functionality. I need to dig in to understand all the code but I think you have solved the problem. Can I ask how you were able to discover the correct function to use? Is there a big list somewhere? Thanks again.
-
March 6, 2023 at 12:58 pm
Atharv Joshi
Forum ModeratorHi FlavaDave
You can check for documentation in this location C:Program FilesANSYS Incv231scdmSpaceClaim.Api.V23
Thanks and Regards
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- pcb
- No longer possible to import f3d with 2023?
- line bodies and surface body shared topology
- How to chang unit in Ansys Discovery 2023?
- ANSYSLI Exited or could not read server port ANSYSLI_FNE_PORT
- SpaceClaim Script: Selection by FilterByBoundingBox
- Assignment of revolute joint
- Max/min over time results in AIM
- Axisymmetric model – Rubber seal
- To change language in Ansys Discovery
-
8808
-
4658
-
3155
-
1688
-
1478
© 2023 Copyright ANSYS, Inc. All rights reserved.