TAGGED: How To, spaceclaim
-
-
February 18, 2022 at 5:29 am
herman
SubscriberIn Spaceclaim all items like IDesignBodies, Designbodies, bodies, IDesignFaces, DesignFaces, Faces, IDesignEdges .......
can be recognized by their hashcode. It seems that those hashcodes are generated randomly as soon as the drawing is reopened. Am I correct, or do i miss something? Is their a possibility in Spaceclaim to 'lock' the hashcodes. If not, is it possible to put a custom identifier (eg Guid) to each individual object (face, edge...) via code? (equal to a custom property to a part)
-
February 18, 2022 at 5:42 am
Subashni Ravichandran
Ansys EmployeeHello Herman Moors
Let me check this from my end and get back to you.
-
February 18, 2022 at 11:18 am
-
February 18, 2022 at 3:11 pm
herman
SubscriberHello Subashni,
Thanx for your reply. No, I'm not referring to bar codes. We want to store the faces hashcode in a database. When someone has remarks about a certain face in the model, we can retreive the hashcode from the database, and search for the particular face in the model to change color of the face.
-
February 21, 2022 at 8:27 am
Subashni Ravichandran
Ansys EmployeeHello Herman Moors
I understand now, that you are trying to refer tot he faces using the hexadecimal code of the face in scripting.
Instead, you can refer to the faces as below.
Example: GetRootPart().Bodies[1].Faces[3]
This should give you the 4th face of 2nd body in the structure tree.Is this helpful to you?
-
- 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.
-
3862
-
2629
-
1859
-
1252
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.